#2D410F#2D410F

#2D410F is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.078 H 128.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2D410F
RGBrgb(45, 65, 15)
HSLhsl(84, 63%, 16%)
HSVhsv(84, 77%, 25%)
CMYKcmyk(30.8%, 0%, 76.9%, 74.5%)
CIE-LABlab(24.87, -17.12, 26.78)
CIE-LCHlch(24.87, 31.78, 122.59°)
OKLaboklab(34.65% -0.0487 0.0607)
OKLCHoklch(34.65% 0.078 128.7)
XYZxyz(3.0587, 4.3729, 1.1347)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D410F #230F41
analogous
#413C0F #2D410F #14410F
triadic
#2D410F #0F2D41 #410F2D
tetradic
#2D410F #0F413C #230F41 #410F14
square
#2D410F #0F413C #230F41 #410F14
split-complementary
#2D410F #0F1441 #3C0F41
monochromatic
#111906 #111906 #2D410F #4F731A #72A426

Accessibility & contrast

On white

11.20
#2D410F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D410F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D410F#FFFFFF#000000##FFFFFF
##2D410F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d410f;
/* rgb */ color: rgb(45, 65, 15);
/* oklch */ color: oklch(34.6% 0.078 128.7);
Tailwind
colors: {
  custom: {
    50: '#687550',
    500: '#2d410f',
    950: '#000000',
  },
}
SCSS
$custom: #2d410f;
$custom-light: #687550;
$custom-dark: #000000;
JSON
{
  "hex": "#2d410f",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 15
  },
  "hsl": {
    "h": 84,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.07782,
    "h": 128.7
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#2D410F
secondary
#4E307B
accent
#42E684
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D410F

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

Preview Lab → · Contrast checker → · Palette generator →

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