#2F4013#2F4013

#2F4013 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.071 H 127.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2F4013
RGBrgb(47, 64, 19)
HSLhsl(83, 54%, 16%)
HSVhsv(83, 70%, 25%)
CMYKcmyk(26.6%, 0%, 70.3%, 74.9%)
CIE-LABlab(24.70, -15.27, 24.63)
CIE-LCHlch(24.70, 28.98, 121.79°)
OKLaboklab(34.56% -0.0433 0.0568)
OKLCHoklch(34.56% 0.071 127.3)
XYZxyz(3.1232, 4.3181, 1.2849)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4013 #241340
analogous
#403B13 #2F4013 #194013
triadic
#2F4013 #132F40 #40132F
tetradic
#2F4013 #13403B #241340 #401319
square
#2F4013 #13403B #241340 #401319
split-complementary
#2F4013 #131940 #3B1340
monochromatic
#111807 #111807 #2F4013 #526F21 #749E2F

Accessibility & contrast

On white

11.27
#2F4013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2F4013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4013
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4013#FFFFFF#000000##FFFFFF
##2F40131.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#313D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4013;
/* rgb */ color: rgb(47, 64, 19);
/* oklch */ color: oklch(34.6% 0.071 127.3);
Tailwind
colors: {
  custom: {
    50: '#697553',
    500: '#2f4013',
    950: '#000000',
  },
}
SCSS
$custom: #2f4013;
$custom-light: #697553;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4013",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 82.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.07141,
    "h": 127.3
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#2F4013
secondary
#4F3679
accent
#4ADE82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4013

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

Preview Lab → · Contrast checker → · Palette generator →

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