#2F410F#2F410F

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

Color values

HEX#2F410F
RGBrgb(47, 65, 15)
HSLhsl(82, 63%, 16%)
HSVhsv(82, 77%, 25%)
CMYKcmyk(27.7%, 0%, 76.9%, 74.5%)
CIE-LABlab(25.01, -16.19, 26.97)
CIE-LCHlch(25.01, 31.46, 120.98°)
OKLaboklab(34.8% -0.0463 0.0611)
OKLCHoklch(34.8% 0.077 127.1)
XYZxyz(3.1488, 4.4194, 1.1390)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F410F #210F41
analogous
#413A0F #2F410F #16410F
triadic
#2F410F #0F2F41 #410F2F
tetradic
#2F410F #0F413A #210F41 #410F16
square
#2F410F #0F413A #210F41 #410F16
split-complementary
#2F410F #0F1641 #3A0F41
monochromatic
#121906 #121906 #2F410F #53731A #77A426

Accessibility & contrast

On white

11.15
#2F410F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F410F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F410F#FFFFFF#000000##FFFFFF
##2F410F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f410f;
/* rgb */ color: rgb(47, 65, 15);
/* oklch */ color: oklch(34.8% 0.077 127.1);
Tailwind
colors: {
  custom: {
    50: '#697550',
    500: '#2f410f',
    950: '#000000',
  },
}
SCSS
$custom: #2f410f;
$custom-light: #697550;
$custom-dark: #000000;
JSON
{
  "hex": "#2f410f",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 15
  },
  "hsl": {
    "h": 81.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34804,
    "c": 0.07663,
    "h": 127.1
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#2F410F
secondary
#4B307B
accent
#42E67D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F410F

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

Preview Lab → · Contrast checker → · Palette generator →

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