#1B7C03

Closest named color: Green (#008000). oklch(51.2% 0.167 141), rgb(27, 124, 3).

Aa

White text reads best on this color (5.34:1).

About this color

#1B7C03 is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.167 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Green (#008000), ΔE 0.013 away. White text reads best on it, at 5.34:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.167)
Temperaturein between
Nearest nameGreen (#008000)
Black text3.93:1
White text5.34:1

Values

HEX#1B7C03
RGBrgb(27, 124, 3)
HSLhsl(108, 95%, 25%)
OKLCHoklch(51.2% 0.167 141)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #1B7C03 5.34:1 AA Lc -81.4 Fine for body text
Black text on #1B7C03 3.93:1 AA large text Lc 28.0 Dividers and decoration only
#1B7C03 text on white 5.34:1 AA Lc 76.0 Fine for body text
#1B7C03 text on black 3.93:1 AA large text Lc -25.7 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #CAE1C5

    oklch(88.5% 0.045 140.1)

  4. Step 300

    300

    #A4CE9D

    oklch(80.8% 0.081 141.1)

  5. Step 400

    400

    #71B466

    oklch(70.6% 0.129 140.9)

  6. Step 500

    500

    #47A139

    oklch(63.2% 0.166 141.1)

  7. Step 600

    600

    #218B08

    oklch(55.6% 0.18 141.1)

  8. Step 700

    700 (this color)

    #1B7C03

    oklch(51.2% 0.167 141)

  9. Step 800

    800

    #146003

    oklch(42.7% 0.138 141)

  10. Step 900

    900

    #1A4F11

    oklch(37.8% 0.108 141)

  11. Step 950

    950

    #112E0C

    oklch(26.9% 0.068 140.8)

Export this scale for Tailwind in the Tailwind colors tool

#1B7C03 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#7F6F000.115
Deuteranopia (no green cones)#7568180.114
Tritanopia (no blue cones)#0078680.110
Achromatopsia (no color)#6B6B6B0.168

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #1B7C03

    #1B7C03

    oklch(51.2% 0.167 141)

  • #903E9F

    #903E9F

    oklch(51.2% 0.166 321.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B7C03

    #1B7C03

    oklch(51.2% 0.167 141)

  • #6A6C00

    #6A6C00

    oklch(51.2% 0.113 111)

  • #00795F

    #00795F

    oklch(51.3% 0.1 171)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #1B7C03

    #1B7C03

    oklch(51.2% 0.167 141)

  • #6A4EBD

    #6A4EBD

    oklch(51.2% 0.167 290.9)

  • #A83172

    #A83172

    oklch(51.2% 0.167 351.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B7C03

    #1B7C03

    oklch(51.2% 0.167 141)

  • #2961C4

    #2961C4

    oklch(51.3% 0.166 260.8)

  • #B22F3A

    #B22F3A

    oklch(51.1% 0.167 21)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B7C03

    #1B7C03

    oklch(51.2% 0.167 141)

  • #007097

    #007097

    oklch(51.2% 0.104 231.4)

  • #903E9F

    #903E9F

    oklch(51.2% 0.166 321.2)

  • #A04B00

    #A04B00

    oklch(51.2% 0.133 51.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #1B7C03, closest first.

No curated palette has a color within ΔE 0.04 of #1B7C03.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #1B7C03 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.