#2F3E07#2F3E07

#2F3E07 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.078 H 124.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2F3E07
RGBrgb(47, 62, 7)
HSLhsl(76, 80%, 14%)
HSVhsv(76, 89%, 24%)
CMYKcmyk(24.2%, 0%, 88.7%, 75.7%)
CIE-LABlab(23.88, -15.08, 29.29)
CIE-LCHlch(23.88, 32.95, 117.24°)
OKLaboklab(33.87% -0.044 0.0646)
OKLCHoklch(33.87% 0.078 124.3)
XYZxyz(2.9333, 4.0649, 0.8310)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E07 #16073E
analogous
#3E3107 #2F3E07 #133E07
triadic
#2F3E07 #072F3E #3E072F
tetradic
#2F3E07 #073E31 #16073E #3E0713
square
#2F3E07 #073E31 #16073E #3E0713
split-complementary
#2F3E07 #07133E #31073E
monochromatic
#151B03 #151B03 #2F3E07 #59750D #82AC13

Accessibility & contrast

On white

11.58
#2F3E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F3E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E07
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E07#FFFFFF#000000##FFFFFF
##2F3E071.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#323A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e07;
/* rgb */ color: rgb(47, 62, 7);
/* oklch */ color: oklch(33.9% 0.078 124.3);
Tailwind
colors: {
  custom: {
    50: '#6a734c',
    500: '#2f3e07',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e07;
$custom-light: #6a734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e07",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 76.364,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33872,
    "c": 0.07819,
    "h": 124.3
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#2F3E07
secondary
#3C247D
accent
#32F667
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F3E07

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

Preview Lab → · Contrast checker → · Palette generator →

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