#2F3D07#2F3D07

#2F3D07 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.077 H 123.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2F3D07
RGBrgb(47, 61, 7)
HSLhsl(76, 79%, 13%)
HSVhsv(76, 89%, 24%)
CMYKcmyk(23%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.53, -14.52, 28.94)
CIE-LCHlch(23.53, 32.37, 116.64°)
OKLaboklab(33.58% -0.0425 0.0639)
OKLCHoklch(33.58% 0.077 123.6)
XYZxyz(2.8794, 3.9571, 0.8131)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D07 #15073D
analogous
#3D3007 #2F3D07 #143D07
triadic
#2F3D07 #072F3D #3D072F
tetradic
#2F3D07 #073D30 #15073D #3D0714
square
#2F3D07 #073D30 #15073D #3D0714
split-complementary
#2F3D07 #07143D #30073D
monochromatic
#151B03 #151B03 #2F3D07 #59740D #84AB14

Accessibility & contrast

On white

11.72
#2F3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F3D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D07
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D07#FFFFFF#000000##FFFFFF
##2F3D071.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#323933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d07;
/* rgb */ color: rgb(47, 61, 7);
/* oklch */ color: oklch(33.6% 0.077 123.6);
Tailwind
colors: {
  custom: {
    50: '#6a724c',
    500: '#2f3d07',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d07;
$custom-light: #6a724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d07",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 75.556,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.07676,
    "h": 123.6
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#2F3D07
secondary
#3B237C
accent
#32F665
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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