#2F3C0D#2F3C0D

#2F3C0D is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.071 H 123.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2F3C0D
RGBrgb(47, 60, 13)
HSLhsl(77, 64%, 14%)
HSVhsv(77, 78%, 24%)
CMYKcmyk(21.7%, 0%, 78.3%, 76.5%)
CIE-LABlab(23.22, -13.52, 26.08)
CIE-LCHlch(23.22, 29.37, 117.41°)
OKLaboklab(33.35% -0.0391 0.0589)
OKLCHoklch(33.35% 0.071 123.6)
XYZxyz(2.8608, 3.8651, 0.9760)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C0D #1A0D3C
analogous
#3C320D #2F3C0D #183C0D
triadic
#2F3C0D #0D2F3C #3C0D2F
tetradic
#2F3C0D #0D3C32 #1A0D3C #3C0D18
square
#2F3C0D #0D3C32 #1A0D3C #3C0D18
split-complementary
#2F3C0D #0D183C #320D3C
monochromatic
#141905 #141905 #2F3C0D #566E18 #7EA123

Accessibility & contrast

On white

11.84
#2F3C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F3C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C0D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C0D#FFFFFF#000000##FFFFFF
##2F3C0D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403806
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#323933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c0d;
/* rgb */ color: rgb(47, 60, 13);
/* oklch */ color: oklch(33.3% 0.071 123.6);
Tailwind
colors: {
  custom: {
    50: '#69714f',
    500: '#2f3c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c0d;
$custom-light: #69714f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c0d",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 76.596,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33349,
    "c": 0.07069,
    "h": 123.6
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#2F3C0D
secondary
#422D78
accent
#40E76F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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