#2F3D0B#2F3D0B

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

Color values

HEX#2F3D0B
RGBrgb(47, 61, 11)
HSLhsl(77, 69%, 14%)
HSVhsv(77, 82%, 24%)
CMYKcmyk(23%, 0%, 82%, 76.1%)
CIE-LABlab(23.56, -14.25, 27.33)
CIE-LCHlch(23.56, 30.82, 117.53°)
OKLaboklab(33.62% -0.0413 0.0611)
OKLCHoklch(33.62% 0.074 124.1)
XYZxyz(2.9015, 3.9660, 0.9292)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D0B #190B3D
analogous
#3D320B #2F3D0B #163D0B
triadic
#2F3D0B #0B2F3D #3D0B2F
tetradic
#2F3D0B #0B3D32 #190B3D #3D0B16
square
#2F3D0B #0B3D32 #190B3D #3D0B16
split-complementary
#2F3D0B #0B163D #320B3D
monochromatic
#141A05 #141A05 #2F3D0B #577114 #7FA51E

Accessibility & contrast

On white

11.71
#2F3D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3D0B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D0B#FFFFFF#000000##FFFFFF
##2F3D0B1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413904
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#323A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d0b;
/* rgb */ color: rgb(47, 61, 11);
/* oklch */ color: oklch(33.6% 0.074 124.1);
Tailwind
colors: {
  custom: {
    50: '#69724e',
    500: '#2f3d0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d0b;
$custom-light: #69724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d0b",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 76.8,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33617,
    "c": 0.0738,
    "h": 124.1
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#2F3D0B
secondary
#402A7A
accent
#3CEC6D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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