#2F4415#2F4415

#2F4415 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.076 H 129.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2F4415
RGBrgb(47, 68, 21)
HSLhsl(87, 53%, 17%)
HSVhsv(87, 69%, 27%)
CMYKcmyk(30.9%, 0%, 69.1%, 73.3%)
CIE-LABlab(26.14, -17.28, 25.17)
CIE-LCHlch(26.14, 30.53, 124.47°)
OKLaboklab(35.74% -0.0486 0.0582)
OKLCHoklch(35.74% 0.076 129.9)
XYZxyz(3.3747, 4.7926, 1.4566)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4415 #2A1544
analogous
#444215 #2F4415 #174415
triadic
#2F4415 #152F44 #44152F
tetradic
#2F4415 #154442 #2A1544 #441517
square
#2F4415 #154442 #2A1544 #441517
split-complementary
#2F4415 #151744 #421544
monochromatic
#101707 #101707 #2F4415 #4F7323 #70A232

Accessibility & contrast

On white

10.72
#2F4415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2F4415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4415
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4415#FFFFFF#000000##FFFFFF
##2F44151.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F10
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#30413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f4415;
/* rgb */ color: rgb(47, 68, 21);
/* oklch */ color: oklch(35.7% 0.076 129.9);
Tailwind
colors: {
  custom: {
    50: '#697855',
    500: '#2f4415',
    950: '#000000',
  },
}
SCSS
$custom: #2f4415;
$custom-light: #697855;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4415",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 21
  },
  "hsl": {
    "h": 86.809,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.07587,
    "h": 129.9
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#2F4415
secondary
#57397C
accent
#4CDC8C
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4415

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

Preview Lab → · Contrast checker → · Palette generator →

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