#2F3C0C#2F3C0C

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

Color values

HEX#2F3C0C
RGBrgb(47, 60, 12)
HSLhsl(76, 67%, 14%)
HSVhsv(76, 80%, 24%)
CMYKcmyk(21.7%, 0%, 80%, 76.5%)
CIE-LABlab(23.21, -13.60, 26.53)
CIE-LCHlch(23.21, 29.82, 117.14°)
OKLaboklab(33.34% -0.0395 0.0596)
OKLCHoklch(33.34% 0.072 123.5)
XYZxyz(2.8545, 3.8626, 0.9429)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C0C #190C3C
analogous
#3C310C #2F3C0C #173C0C
triadic
#2F3C0C #0C2F3C #3C0C2F
tetradic
#2F3C0C #0C3C31 #190C3C #3C0C17
square
#2F3C0C #0C3C31 #190C3C #3C0C17
split-complementary
#2F3C0C #0C173C #310C3C
monochromatic
#141A05 #141A05 #2F3C0C #576F16 #7FA220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3C0C#FFFFFF#000000##FFFFFF
##2F3C0C1.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)
#403805
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#323932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c0c;
/* rgb */ color: rgb(47, 60, 12);
/* oklch */ color: oklch(33.3% 0.072 123.5);
Tailwind
colors: {
  custom: {
    50: '#69714e',
    500: '#2f3c0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c0c;
$custom-light: #69714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c0c",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 76.25,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.07151,
    "h": 123.5
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#2F3C0C
secondary
#402C78
accent
#3EEA6D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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