#2F4210#2F4210

#2F4210 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.077 H 127.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2F4210
RGBrgb(47, 66, 16)
HSLhsl(83, 61%, 16%)
HSVhsv(83, 76%, 26%)
CMYKcmyk(28.8%, 0%, 75.8%, 74.1%)
CIE-LABlab(25.38, -16.66, 26.87)
CIE-LCHlch(25.38, 31.62, 121.80°)
OKLaboklab(35.1% -0.0474 0.0611)
OKLCHoklch(35.1% 0.077 127.9)
XYZxyz(3.2140, 4.5381, 1.1967)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4210 #231042
analogous
#423C10 #2F4210 #164210
triadic
#2F4210 #102F42 #42102F
tetradic
#2F4210 #10423C #231042 #421016
square
#2F4210 #10423C #231042 #421016
split-complementary
#2F4210 #101642 #3C1042
monochromatic
#121906 #121906 #2F4210 #52731C #75A528

Accessibility & contrast

On white

11.01
#2F4210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F4210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4210
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4210#FFFFFF#000000##FFFFFF
##2F42101.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D09
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4210;
/* rgb */ color: rgb(47, 66, 16);
/* oklch */ color: oklch(35.1% 0.077 127.9);
Tailwind
colors: {
  custom: {
    50: '#697651',
    500: '#2f4210',
    950: '#000000',
  },
}
SCSS
$custom: #2f4210;
$custom-light: #697651;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4210",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 16
  },
  "hsl": {
    "h": 82.8,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35103,
    "c": 0.07732,
    "h": 127.9
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#2F4210
secondary
#4E327C
accent
#44E481
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4210

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

Preview Lab → · Contrast checker → · Palette generator →

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