#0F7C23

Closest named color: Tree Green (#2A7E19). oklch(51.2% 0.155 144.9), rgb(15, 124, 35).

Aa

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

About this color

#0F7C23 is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.155 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.016 away. White text reads best on it, at 5.34:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.155)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.92:1
White text5.34:1

Values

HEX#0F7C23
RGBrgb(15, 124, 35)
HSLhsl(131, 78%, 27%)
OKLCHoklch(51.2% 0.155 144.9)

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 #0F7C23 5.34:1 AA Lc -81.4 Fine for body text
Black text on #0F7C23 3.92:1 AA large text Lc 28.0 Dividers and decoration only
#0F7C23 text on white 5.34:1 AA Lc 76.0 Fine for body text
#0F7C23 text on black 3.92: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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C9E1C9

    oklch(88.5% 0.041 145.2)

  4. Step 300

    300

    #A3CEA3

    oklch(80.9% 0.075 144.8)

  5. Step 400

    400

    #6EB471

    oklch(70.6% 0.119 145.1)

  6. Step 500

    500

    #42A14A

    oklch(63.2% 0.153 145)

  7. Step 600

    600

    #168B2A

    oklch(55.6% 0.167 144.9)

  8. Step 700

    700 (this color)

    #0F7C23

    oklch(51.2% 0.155 144.9)

  9. Step 800

    800

    #0B601A

    oklch(42.7% 0.128 144.9)

  10. Step 900

    900

    #164F1C

    oklch(37.8% 0.1 144.9)

  11. Step 950

    950

    #0F2E11

    oklch(26.9% 0.063 144.7)

Export this scale for Tailwind in the Tailwind colors tool

#0F7C23 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)#7E70160.114
Deuteranopia (no green cones)#73682C0.115
Tritanopia (no blue cones)#00796A0.096
Achromatopsia (no color)#6B6B6B0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F7C23

    #0F7C23

    oklch(51.2% 0.155 144.9)

  • #914097

    #914097

    oklch(51.2% 0.156 324.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F7C23

    #0F7C23

    oklch(51.2% 0.155 144.9)

  • #656D00

    #656D00

    oklch(51% 0.115 114.7)

  • #007863

    #007863

    oklch(51.1% 0.097 174.8)

Open the analogous palette in the generator

Split complementary

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

  • #0F7C23

    #0F7C23

    oklch(51.2% 0.155 144.9)

  • #6F4FB4

    #6F4FB4

    oklch(51.2% 0.154 295)

  • #A6366B

    #A6366B

    oklch(51.1% 0.155 354.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F7C23

    #0F7C23

    oklch(51.2% 0.155 144.9)

  • #395FBE

    #395FBE

    oklch(51% 0.156 265)

  • #AE3736

    #AE3736

    oklch(51.2% 0.155 24.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F7C23

    #0F7C23

    oklch(51.2% 0.155 144.9)

  • #006F9B

    #006F9B

    oklch(51.1% 0.108 234.8)

  • #914097

    #914097

    oklch(51.2% 0.156 324.8)

  • #9C4F00

    #9C4F00

    oklch(51.2% 0.127 55.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0F7C23.

Similar named colors

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

Use #0F7C23 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.