#2F3B0C#2F3B0C

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

Color values

HEX#2F3B0C
RGBrgb(47, 59, 12)
HSLhsl(75, 66%, 14%)
HSVhsv(75, 80%, 23%)
CMYKcmyk(20.3%, 0%, 79.7%, 76.9%)
CIE-LABlab(22.86, -13.02, 26.17)
CIE-LCHlch(22.86, 29.23, 116.45°)
OKLaboklab(33.05% -0.0379 0.0589)
OKLCHoklch(33.05% 0.07 122.7)
XYZxyz(2.8026, 3.7588, 0.9256)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B0C #180C3B
analogous
#3B300C #2F3B0C #183B0C
triadic
#2F3B0C #0C2F3B #3B0C2F
tetradic
#2F3B0C #0C3B30 #180C3B #3B0C18
square
#2F3B0C #0C3B30 #180C3B #3B0C18
split-complementary
#2F3B0C #0C183B #300C3B
monochromatic
#141905 #141905 #2F3B0C #586E16 #80A121

Accessibility & contrast

On white

11.99
#2F3B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3B0C
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B0C#FFFFFF#000000##FFFFFF
##2F3B0C1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3b0c;
/* rgb */ color: rgb(47, 59, 12);
/* oklch */ color: oklch(33.1% 0.070 122.7);
Tailwind
colors: {
  custom: {
    50: '#69714e',
    500: '#2f3b0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b0c;
$custom-light: #69714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b0c",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 75.319,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33053,
    "c": 0.07001,
    "h": 122.7
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#2F3B0C
secondary
#3F2C77
accent
#3FE96A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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