#2F3C0B#2F3C0B

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

Color values

HEX#2F3C0B
RGBrgb(47, 60, 11)
HSLhsl(76, 69%, 14%)
HSVhsv(76, 82%, 24%)
CMYKcmyk(21.7%, 0%, 81.7%, 76.5%)
CIE-LABlab(23.20, -13.67, 26.97)
CIE-LCHlch(23.20, 30.23, 116.88°)
OKLaboklab(33.33% -0.0398 0.0604)
OKLCHoklch(33.33% 0.072 123.4)
XYZxyz(2.8486, 3.8602, 0.9116)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C0B #180B3C
analogous
#3C310B #2F3C0B #173C0B
triadic
#2F3C0B #0B2F3C #3C0B2F
tetradic
#2F3C0B #0B3C31 #180B3C #3C0B17
square
#2F3C0B #0B3C31 #180B3C #3C0B17
split-complementary
#2F3C0B #0B173C #310B3C
monochromatic
#141A05 #141A05 #2F3C0B #587014 #80A31E

Accessibility & contrast

On white

11.85
#2F3C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3C0B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C0B#FFFFFF#000000##FFFFFF
##2F3C0B1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403804
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#323932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c0b;
/* rgb */ color: rgb(47, 60, 11);
/* oklch */ color: oklch(33.3% 0.072 123.4);
Tailwind
colors: {
  custom: {
    50: '#69714e',
    500: '#2f3c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c0b;
$custom-light: #69714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c0b",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 75.918,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3333,
    "c": 0.07231,
    "h": 123.4
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#2F3C0B
secondary
#3F2A79
accent
#3CEC6B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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