#2F410B#2F410B

#2F410B is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.080 H 126.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2F410B
RGBrgb(47, 65, 11)
HSLhsl(80, 71%, 15%)
HSVhsv(80, 83%, 25%)
CMYKcmyk(27.7%, 0%, 83.1%, 74.5%)
CIE-LABlab(24.98, -16.49, 28.73)
CIE-LCHlch(24.98, 33.13, 119.86°)
OKLaboklab(34.77% -0.0475 0.0641)
OKLCHoklch(34.77% 0.08 126.6)
XYZxyz(3.1230, 4.4090, 1.0030)
Luminance0.0441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F410B #1D0B41
analogous
#41380B #2F410B #14410B
triadic
#2F410B #0B2F41 #410B2F
tetradic
#2F410B #0B4138 #1D0B41 #410B14
square
#2F410B #0B4138 #1D0B41 #410B14
split-complementary
#2F410B #0B1441 #380B41
monochromatic
#131A04 #131A04 #2F410B #557514 #7BAA1D

Accessibility & contrast

On white

11.16
#2F410B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F410B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F410B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F410B#FFFFFF#000000##FFFFFF
##2F410B1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C03
Deuteranopia (green-blind)
#423B10
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f410b;
/* rgb */ color: rgb(47, 65, 11);
/* oklch */ color: oklch(34.8% 0.080 126.6);
Tailwind
colors: {
  custom: {
    50: '#6a754e',
    500: '#2f410b',
    950: '#000000',
  },
}
SCSS
$custom: #2f410b;
$custom-light: #6a754e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f410b",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 11
  },
  "hsl": {
    "h": 80,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.07975,
    "h": 126.6
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#2F410B
secondary
#462A7E
accent
#3AEE76
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F410B

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

Preview Lab → · Contrast checker → · Palette generator →

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