#2F4016#2F4016

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

Color values

HEX#2F4016
RGBrgb(47, 64, 22)
HSLhsl(84, 49%, 17%)
HSVhsv(84, 66%, 25%)
CMYKcmyk(26.6%, 0%, 65.6%, 74.9%)
CIE-LABlab(24.73, -14.95, 23.05)
CIE-LCHlch(24.73, 27.48, 122.96°)
OKLaboklab(34.6% -0.0421 0.0538)
OKLCHoklch(34.6% 0.068 128)
XYZxyz(3.1505, 4.3290, 1.4285)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4016 #271640
analogous
#403C16 #2F4016 #1A4016
triadic
#2F4016 #162F40 #40162F
tetradic
#2F4016 #16403C #271640 #40161A
square
#2F4016 #16403C #271640 #40161A
split-complementary
#2F4016 #161A40 #3C1640
monochromatic
#111708 #111708 #2F4016 #506E26 #729B35

Accessibility & contrast

On white

11.26
#2F4016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F4016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4016
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4016#FFFFFF#000000##FFFFFF
##2F40161.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4016;
/* rgb */ color: rgb(47, 64, 22);
/* oklch */ color: oklch(34.6% 0.068 128.0);
Tailwind
colors: {
  custom: {
    50: '#697555',
    500: '#2f4016',
    950: '#000000',
  },
}
SCSS
$custom: #2f4016;
$custom-light: #697555;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4016",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 22
  },
  "hsl": {
    "h": 84.286,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.346,
    "c": 0.06835,
    "h": 128
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2F4016
secondary
#533B77
accent
#4FD887
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F4016

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

Preview Lab → · Contrast checker → · Palette generator →

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