#2F3D06#2F3D06

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

Color values

HEX#2F3D06
RGBrgb(47, 61, 6)
HSLhsl(75, 82%, 13%)
HSVhsv(75, 90%, 24%)
CMYKcmyk(23%, 0%, 90.2%, 76.1%)
CIE-LABlab(23.52, -14.58, 29.34)
CIE-LCHlch(23.52, 32.76, 116.43°)
OKLaboklab(33.58% -0.0428 0.0646)
OKLCHoklch(33.58% 0.078 123.5)
XYZxyz(2.8739, 3.9550, 0.7842)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D06 #14063D
analogous
#3D2F06 #2F3D06 #133D06
triadic
#2F3D06 #062F3D #3D062F
tetradic
#2F3D06 #063D2F #14063D #3D0613
square
#2F3D06 #063D2F #14063D #3D0613
split-complementary
#2F3D06 #06133D #2F063D
monochromatic
#151C03 #151C03 #2F3D06 #5A750B #85AC11

Accessibility & contrast

On white

11.73
#2F3D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3D06
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D06#FFFFFF#000000##FFFFFF
##2F3D061.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3F380B
Tritanopia (blue-blind)
#323933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d06;
/* rgb */ color: rgb(47, 61, 6);
/* oklch */ color: oklch(33.6% 0.078 123.5);
Tailwind
colors: {
  custom: {
    50: '#6a724b',
    500: '#2f3d06',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d06;
$custom-light: #6a724b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d06",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 75.273,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33576,
    "c": 0.07751,
    "h": 123.5
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#2F3D06
secondary
#39227D
accent
#2FF863
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F3D06

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

Preview Lab → · Contrast checker → · Palette generator →

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