#2F3B0D#2F3B0D

#2F3B0D is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.069 H 122.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2F3B0D
RGBrgb(47, 59, 13)
HSLhsl(76, 64%, 14%)
HSVhsv(76, 78%, 23%)
CMYKcmyk(20.3%, 0%, 78%, 76.9%)
CIE-LABlab(22.87, -12.94, 25.71)
CIE-LCHlch(22.87, 28.78, 116.72°)
OKLaboklab(33.06% -0.0375 0.0581)
OKLCHoklch(33.06% 0.069 122.9)
XYZxyz(2.8089, 3.7613, 0.9587)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B0D #190D3B
analogous
#3B300D #2F3B0D #183B0D
triadic
#2F3B0D #0D2F3B #3B0D2F
tetradic
#2F3B0D #0D3B30 #190D3B #3B0D18
square
#2F3B0D #0D3B30 #190D3B #3B0D18
split-complementary
#2F3B0D #0D183B #300D3B
monochromatic
#141906 #141906 #2F3B0D #576D18 #7F9F23

Accessibility & contrast

On white

11.98
#2F3B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F3B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B0D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B0D#FFFFFF#000000##FFFFFF
##2F3B0D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3707
Deuteranopia (green-blind)
#3D3711
Tritanopia (blue-blind)
#323832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3b0d;
/* rgb */ color: rgb(47, 59, 13);
/* oklch */ color: oklch(33.1% 0.069 122.9);
Tailwind
colors: {
  custom: {
    50: '#69714f',
    500: '#2f3b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b0d;
$custom-light: #69714f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b0d",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 13
  },
  "hsl": {
    "h": 75.652,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33063,
    "c": 0.06916,
    "h": 122.9
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#2F3B0D
secondary
#402D77
accent
#41E76C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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