#2F4313#2F4313

#2F4313 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.076 H 129.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2F4313
RGBrgb(47, 67, 19)
HSLhsl(85, 56%, 17%)
HSVhsv(85, 72%, 26%)
CMYKcmyk(29.9%, 0%, 71.6%, 73.7%)
CIE-LABlab(25.76, -16.93, 25.79)
CIE-LCHlch(25.76, 30.85, 123.29°)
OKLaboklab(35.42% -0.0479 0.0593)
OKLCHoklch(35.42% 0.076 129)
XYZxyz(3.2970, 4.6656, 1.3428)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4313 #271343
analogous
#433F13 #2F4313 #174313
triadic
#2F4313 #132F43 #43132F
tetradic
#2F4313 #13433F #271343 #431317
square
#2F4313 #13433F #271343 #431317
split-complementary
#2F4313 #131743 #3F1343
monochromatic
#111807 #111807 #2F4313 #507321 #72A22E

Accessibility & contrast

On white

10.86
#2F4313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F4313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4313
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4313#FFFFFF#000000##FFFFFF
##2F43131.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0D
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#314039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f4313;
/* rgb */ color: rgb(47, 67, 19);
/* oklch */ color: oklch(35.4% 0.076 129.0);
Tailwind
colors: {
  custom: {
    50: '#697753',
    500: '#2f4313',
    950: '#000000',
  },
}
SCSS
$custom: #2f4313;
$custom-light: #697753;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4313",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 85,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35423,
    "c": 0.07619,
    "h": 129
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#2F4313
secondary
#53367C
accent
#49DF87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4313

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

Preview Lab → · Contrast checker → · Palette generator →

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