#2F4011#2F4011

#2F4011 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.073 H 126.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2F4011
RGBrgb(47, 64, 17)
HSLhsl(82, 58%, 16%)
HSVhsv(82, 73%, 25%)
CMYKcmyk(26.6%, 0%, 73.4%, 74.9%)
CIE-LABlab(24.68, -15.46, 25.64)
CIE-LCHlch(24.68, 29.94, 121.08°)
OKLaboklab(34.54% -0.044 0.0586)
OKLCHoklch(34.54% 0.073 126.9)
XYZxyz(3.1069, 4.3115, 1.1987)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4011 #221140
analogous
#403911 #2F4011 #174011
triadic
#2F4011 #112F40 #40112F
tetradic
#2F4011 #114039 #221140 #401117
square
#2F4011 #114039 #221140 #401117
split-complementary
#2F4011 #111740 #391140
monochromatic
#121806 #121806 #2F4011 #53701E #76A12B

Accessibility & contrast

On white

11.28
#2F4011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4011
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4011#FFFFFF#000000##FFFFFF
##2F40111.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0B
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#313D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4011;
/* rgb */ color: rgb(47, 64, 17);
/* oklch */ color: oklch(34.5% 0.073 126.9);
Tailwind
colors: {
  custom: {
    50: '#697552',
    500: '#2f4011',
    950: '#000000',
  },
}
SCSS
$custom: #2f4011;
$custom-light: #697552;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4011",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 17
  },
  "hsl": {
    "h": 81.702,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34538,
    "c": 0.07332,
    "h": 126.9
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#2F4011
secondary
#4D3379
accent
#47E17F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4011

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

Preview Lab → · Contrast checker → · Palette generator →

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