#2F3D0E#2F3D0E

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

Color values

HEX#2F3D0E
RGBrgb(47, 61, 14)
HSLhsl(78, 63%, 15%)
HSVhsv(78, 77%, 24%)
CMYKcmyk(23%, 0%, 77%, 76.1%)
CIE-LABlab(23.58, -14.02, 25.97)
CIE-LCHlch(23.58, 29.51, 118.36°)
OKLaboklab(33.65% -0.0404 0.0588)
OKLCHoklch(33.65% 0.071 124.5)
XYZxyz(2.9203, 3.9735, 1.0285)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D0E #1C0E3D
analogous
#3D340E #2F3D0E #183D0E
triadic
#2F3D0E #0E2F3D #3D0E2F
tetradic
#2F3D0E #0E3D34 #1C0E3D #3D0E18
square
#2F3D0E #0E3D34 #1C0E3D #3D0E18
split-complementary
#2F3D0E #0E183D #340E3D
monochromatic
#131906 #131906 #2F3D0E #556F19 #7CA125

Accessibility & contrast

On white

11.70
#2F3D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3D0E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D0E#FFFFFF#000000##FFFFFF
##2F3D0E1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413907
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#323A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d0e;
/* rgb */ color: rgb(47, 61, 14);
/* oklch */ color: oklch(33.6% 0.071 124.5);
Tailwind
colors: {
  custom: {
    50: '#69724f',
    500: '#2f3d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d0e;
$custom-light: #69724f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d0e",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 14
  },
  "hsl": {
    "h": 77.872,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33645,
    "c": 0.07134,
    "h": 124.5
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#2F3D0E
secondary
#452F78
accent
#42E673
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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