#2F4214#2F4214

#2F4214 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.1% C 0.074 H 128.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2F4214
RGBrgb(47, 66, 20)
HSLhsl(85, 53%, 17%)
HSVhsv(85, 70%, 26%)
CMYKcmyk(28.8%, 0%, 69.7%, 74.1%)
CIE-LABlab(25.42, -16.28, 24.90)
CIE-LCHlch(25.42, 29.75, 123.18°)
OKLaboklab(35.15% -0.046 0.0575)
OKLCHoklch(35.15% 0.074 128.7)
XYZxyz(3.2468, 4.5512, 1.3691)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4214 #271442
analogous
#423E14 #2F4214 #184214
triadic
#2F4214 #142F42 #42142F
tetradic
#2F4214 #14423E #271442 #421418
square
#2F4214 #14423E #271442 #421418
split-complementary
#2F4214 #141842 #3E1442
monochromatic
#111707 #111707 #2F4214 #507122 #72A030

Accessibility & contrast

On white

10.99
#2F4214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F4214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4214
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4214#FFFFFF#000000##FFFFFF
##2F42141.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0F
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4214;
/* rgb */ color: rgb(47, 66, 20);
/* oklch */ color: oklch(35.1% 0.074 128.7);
Tailwind
colors: {
  custom: {
    50: '#697654',
    500: '#2f4214',
    950: '#000000',
  },
}
SCSS
$custom: #2f4214;
$custom-light: #697654;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4214",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 20
  },
  "hsl": {
    "h": 84.783,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35147,
    "c": 0.07364,
    "h": 128.7
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2F4214
secondary
#53387A
accent
#4BDD87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F4214

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

Preview Lab → · Contrast checker → · Palette generator →

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