#2F6F0E#2F6F0E

#2F6F0E is a mid, vivid yellow-green. Relative luminance 0.120; OKLCH L 48.1% C 0.141 H 138.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6F0E
RGBrgb(47, 111, 14)
HSLhsl(100, 78%, 25%)
HSVhsv(100, 87%, 44%)
CMYKcmyk(57.7%, 0%, 87.4%, 56.5%)
CIE-LABlab(41.22, -37.71, 42.84)
CIE-LCHlch(41.22, 57.08, 131.36°)
OKLaboklab(48.09% -0.1045 0.0942)
OKLCHoklch(48.09% 0.141 138)
XYZxyz(6.9357, 12.0044, 2.3670)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F0E #4E0E6F
analogous
#606F0E #2F6F0E #0E6F1E
triadic
#2F6F0E #0E2F6F #6F0E2F
tetradic
#2F6F0E #0E606F #4E0E6F #6F1E0E
square
#2F6F0E #0E606F #4E0E6F #6F1E0E
split-complementary
#2F6F0E #1E0E6F #6F0E60
monochromatic
#0C1B03 #183907 #2F6F0E #46A515 #5DDC1C

Accessibility & contrast

On white

6.17
#2F6F0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2F6F0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F0E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F0E#FFFFFF#000000##FFFFFF
##2F6F0E1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6f0e;
/* rgb */ color: rgb(47, 111, 14);
/* oklch */ color: oklch(48.1% 0.141 138.0);
Tailwind
colors: {
  custom: {
    50: '#709957',
    500: '#2f6f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f0e;
$custom-light: #709957;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f0e",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 14
  },
  "hsl": {
    "h": 99.588,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48086,
    "c": 0.14066,
    "h": 138
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#2F6F0E
secondary
#7F32A7
accent
#34F4B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6F0E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F6F0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva