#2F3806#2F3806

#2F3806 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.070 H 119.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2F3806
RGBrgb(47, 56, 6)
HSLhsl(71, 81%, 12%)
HSVhsv(71, 89%, 22%)
CMYKcmyk(16.1%, 0%, 89.3%, 78%)
CIE-LABlab(21.75, -11.68, 27.49)
CIE-LCHlch(21.75, 29.87, 113.01°)
OKLaboklab(32.14% -0.0348 0.0612)
OKLCHoklch(32.14% 0.07 119.7)
XYZxyz(2.6194, 3.4458, 0.6994)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3806 #0F0638
analogous
#382806 #2F3806 #163806
triadic
#2F3806 #062F38 #38062F
tetradic
#2F3806 #063828 #0F0638 #380616
square
#2F3806 #063828 #0F0638 #380616
split-complementary
#2F3806 #061638 #280638
monochromatic
#171C03 #171C03 #2F3806 #5D6F0C #8CA712

Accessibility & contrast

On white

12.43
#2F3806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F3806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3806
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3806#FFFFFF#000000##FFFFFF
##2F38061.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#32342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f3806;
/* rgb */ color: rgb(47, 56, 6);
/* oklch */ color: oklch(32.1% 0.070 119.7);
Tailwind
colors: {
  custom: {
    50: '#696e4b',
    500: '#2f3806',
    950: '#000000',
  },
}
SCSS
$custom: #2f3806;
$custom-light: #696e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3806",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 6
  },
  "hsl": {
    "h": 70.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.07043,
    "h": 119.7
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#2F3806
secondary
#312178
accent
#31F754
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3806

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

Preview Lab → · Contrast checker → · Palette generator →

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