#2F3D0A#2F3D0A

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

Color values

HEX#2F3D0A
RGBrgb(47, 61, 10)
HSLhsl(76, 72%, 14%)
HSVhsv(76, 84%, 24%)
CMYKcmyk(23%, 0%, 83.6%, 76.1%)
CIE-LABlab(23.55, -14.32, 27.74)
CIE-LCHlch(23.55, 31.21, 117.30°)
OKLaboklab(33.61% -0.0416 0.0618)
OKLCHoklch(33.61% 0.075 124)
XYZxyz(2.8958, 3.9637, 0.8996)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D0A #180A3D
analogous
#3D320A #2F3D0A #163D0A
triadic
#2F3D0A #0A2F3D #3D0A2F
tetradic
#2F3D0A #0A3D32 #180A3D #3D0A16
square
#2F3D0A #0A3D32 #180A3D #3D0A16
split-complementary
#2F3D0A #0A163D #320A3D
monochromatic
#141A04 #141A04 #2F3D0A #587213 #80A61B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3D0A#FFFFFF#000000##FFFFFF
##2F3D0A1.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)
#413903
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#323A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d0a;
/* rgb */ color: rgb(47, 61, 10);
/* oklch */ color: oklch(33.6% 0.075 124.0);
Tailwind
colors: {
  custom: {
    50: '#69724d',
    500: '#2f3d0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d0a;
$custom-light: #69724d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d0a",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 10
  },
  "hsl": {
    "h": 76.471,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33609,
    "c": 0.07454,
    "h": 124
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#2F3D0A
secondary
#3F287A
accent
#39EF6B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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