#2F4205#2F4205

#2F4205 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.085 H 126.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2F4205
RGBrgb(47, 66, 5)
HSLhsl(79, 86%, 14%)
HSVhsv(79, 92%, 26%)
CMYKcmyk(28.8%, 0%, 92.4%, 74.1%)
CIE-LABlab(25.30, -17.43, 31.48)
CIE-LCHlch(25.30, 35.98, 118.97°)
OKLaboklab(35.01% -0.0506 0.0687)
OKLCHoklch(35.01% 0.085 126.4)
XYZxyz(3.1479, 4.5117, 0.8485)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4205 #180542
analogous
#423705 #2F4205 #114205
triadic
#2F4205 #052F42 #42052F
tetradic
#2F4205 #054237 #180542 #420511
square
#2F4205 #054237 #180542 #420511
split-complementary
#2F4205 #051142 #370542
monochromatic
#141C02 #141C02 #2F4205 #587B09 #80B40E

Accessibility & contrast

On white

11.04
#2F4205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F4205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4205
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4205#FFFFFF#000000##FFFFFF
##2F42051.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#443C0B
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4205;
/* rgb */ color: rgb(47, 66, 5);
/* oklch */ color: oklch(35.0% 0.085 126.4);
Tailwind
colors: {
  custom: {
    50: '#6a764b',
    500: '#2f4205',
    950: '#000000',
  },
}
SCSS
$custom: #2f4205;
$custom-light: #6a764b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4205",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 78.689,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.35011,
    "c": 0.08531,
    "h": 126.4
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#2F4205
secondary
#3F2082
accent
#2CFC6D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F4205

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

Preview Lab → · Contrast checker → · Palette generator →

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