#2F4514#2F4514

#2F4514 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.078 H 130.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2F4514
RGBrgb(47, 69, 20)
HSLhsl(87, 55%, 17%)
HSVhsv(87, 71%, 27%)
CMYKcmyk(31.9%, 0%, 71%, 72.9%)
CIE-LABlab(26.48, -17.93, 26.06)
CIE-LCHlch(26.48, 31.63, 124.52°)
OKLaboklab(36.01% -0.0505 0.06)
OKLCHoklch(36.01% 0.078 130.1)
XYZxyz(3.4267, 4.9110, 1.4291)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4514 #2A1445
analogous
#454314 #2F4514 #164514
triadic
#2F4514 #142F45 #45142F
tetradic
#2F4514 #144543 #2A1445 #451416
square
#2F4514 #144543 #2A1445 #451416
split-complementary
#2F4514 #141645 #431445
monochromatic
#101807 #101807 #2F4514 #4F7422 #70A430

Accessibility & contrast

On white

10.59
#2F4514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F4514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4514
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4514#FFFFFF#000000##FFFFFF
##2F45141.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48400E
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#30423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f4514;
/* rgb */ color: rgb(47, 69, 20);
/* oklch */ color: oklch(36.0% 0.078 130.1);
Tailwind
colors: {
  custom: {
    50: '#697854',
    500: '#2f4514',
    950: '#000000',
  },
}
SCSS
$custom: #2f4514;
$custom-light: #697854;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4514",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 20
  },
  "hsl": {
    "h": 86.939,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3601,
    "c": 0.07841,
    "h": 130.1
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#2F4514
secondary
#57387D
accent
#49DE8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4514

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

Preview Lab → · Contrast checker → · Palette generator →

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