#2F3D0C#2F3D0C

#2F3D0C is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.073 H 124.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2F3D0C
RGBrgb(47, 61, 12)
HSLhsl(77, 67%, 14%)
HSVhsv(77, 80%, 24%)
CMYKcmyk(23%, 0%, 80.3%, 76.1%)
CIE-LABlab(23.57, -14.17, 26.89)
CIE-LCHlch(23.57, 30.40, 117.79°)
OKLaboklab(33.63% -0.041 0.0604)
OKLCHoklch(33.63% 0.073 124.2)
XYZxyz(2.9074, 3.9683, 0.9605)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D0C #1A0C3D
analogous
#3D330C #2F3D0C #173D0C
triadic
#2F3D0C #0C2F3D #3D0C2F
tetradic
#2F3D0C #0C3D33 #1A0C3D #3D0C17
square
#2F3D0C #0C3D33 #1A0C3D #3D0C17
split-complementary
#2F3D0C #0C173D #330C3D
monochromatic
#141A05 #141A05 #2F3D0C #567016 #7EA320

Accessibility & contrast

On white

11.71
#2F3D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2F3D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D0C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D0C#FFFFFF#000000##FFFFFF
##2F3D0C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413905
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#323A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d0c;
/* rgb */ color: rgb(47, 61, 12);
/* oklch */ color: oklch(33.6% 0.073 124.2);
Tailwind
colors: {
  custom: {
    50: '#69724e',
    500: '#2f3d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d0c;
$custom-light: #69724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d0c",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 77.143,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33626,
    "c": 0.07302,
    "h": 124.2
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#2F3D0C
secondary
#422C79
accent
#3EEA6F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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