#2A410F#2A410F

#2A410F is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.080 H 130.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2A410F
RGBrgb(42, 65, 15)
HSLhsl(88, 63%, 16%)
HSVhsv(88, 77%, 25%)
CMYKcmyk(35.4%, 0%, 76.9%, 74.5%)
CIE-LABlab(24.66, -18.47, 26.50)
CIE-LCHlch(24.66, 32.30, 124.88°)
OKLaboklab(34.43% -0.0521 0.0602)
OKLCHoklch(34.43% 0.08 130.9)
XYZxyz(2.9313, 4.3072, 1.1288)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A410F #260F41
analogous
#413F0F #2A410F #11410F
triadic
#2A410F #0F2A41 #410F2A
tetradic
#2A410F #0F413F #260F41 #410F11
square
#2A410F #0F413F #260F41 #410F11
split-complementary
#2A410F #0F1141 #3F0F41
monochromatic
#101906 #101906 #2A410F #4A731A #6AA426

Accessibility & contrast

On white

11.28
#2A410F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A410F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A410F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A410F#FFFFFF#000000##FFFFFF
##2A410F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C08
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#2B3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a410f;
/* rgb */ color: rgb(42, 65, 15);
/* oklch */ color: oklch(34.4% 0.080 130.9);
Tailwind
colors: {
  custom: {
    50: '#667550',
    500: '#2a410f',
    950: '#000000',
  },
}
SCSS
$custom: #2a410f;
$custom-light: #667550;
$custom-dark: #000000;
JSON
{
  "hex": "#2a410f",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 15
  },
  "hsl": {
    "h": 87.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.07965,
    "h": 130.9
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#2A410F
secondary
#53307B
accent
#42E68D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A410F

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

Preview Lab → · Contrast checker → · Palette generator →

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