#2F3D0D#2F3D0D

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

Color values

HEX#2F3D0D
RGBrgb(47, 61, 13)
HSLhsl(78, 65%, 15%)
HSVhsv(78, 79%, 24%)
CMYKcmyk(23%, 0%, 78.7%, 76.1%)
CIE-LABlab(23.57, -14.10, 26.44)
CIE-LCHlch(23.57, 29.96, 118.07°)
OKLaboklab(33.64% -0.0407 0.0596)
OKLCHoklch(33.64% 0.072 124.3)
XYZxyz(2.9137, 3.9709, 0.9936)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D0D #1B0D3D
analogous
#3D330D #2F3D0D #173D0D
triadic
#2F3D0D #0D2F3D #3D0D2F
tetradic
#2F3D0D #0D3D33 #1B0D3D #3D0D17
square
#2F3D0D #0D3D33 #1B0D3D #3D0D17
split-complementary
#2F3D0D #0D173D #330D3D
monochromatic
#131905 #131905 #2F3D0D #566F18 #7DA223

Accessibility & contrast

On white

11.70
#2F3D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3D0D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D0D#FFFFFF#000000##FFFFFF
##2F3D0D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3d0d;
/* rgb */ color: rgb(47, 61, 13);
/* oklch */ color: oklch(33.6% 0.072 124.3);
Tailwind
colors: {
  custom: {
    50: '#69724f',
    500: '#2f3d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d0d;
$custom-light: #69724f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d0d",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 13
  },
  "hsl": {
    "h": 77.5,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33636,
    "c": 0.0722,
    "h": 124.3
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#2F3D0D
secondary
#432D79
accent
#40E871
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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