#2A410B#2A410B

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

Color values

HEX#2A410B
RGBrgb(42, 65, 11)
HSLhsl(86, 71%, 15%)
HSVhsv(86, 83%, 25%)
CMYKcmyk(35.4%, 0%, 83.1%, 74.5%)
CIE-LABlab(24.63, -18.79, 28.27)
CIE-LCHlch(24.63, 33.94, 123.61°)
OKLaboklab(34.39% -0.0534 0.0632)
OKLCHoklch(34.39% 0.083 130.2)
XYZxyz(2.9055, 4.2969, 0.9928)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A410B #220B41
analogous
#413D0B #2A410B #0F410B
triadic
#2A410B #0B2A41 #410B2A
tetradic
#2A410B #0B413D #220B41 #410B0F
square
#2A410B #0B413D #220B41 #410B0F
split-complementary
#2A410B #0B0F41 #3D0B41
monochromatic
#111A04 #111A04 #2A410B #4C7514 #6EAA1D

Accessibility & contrast

On white

11.29
#2A410B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A410B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A410B#FFFFFF#000000##FFFFFF
##2A410B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C03
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#2B3E37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a410b;
/* rgb */ color: rgb(42, 65, 11);
/* oklch */ color: oklch(34.4% 0.083 130.2);
Tailwind
colors: {
  custom: {
    50: '#66754e',
    500: '#2a410b',
    950: '#000000',
  },
}
SCSS
$custom: #2a410b;
$custom-light: #66754e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a410b",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 11
  },
  "hsl": {
    "h": 85.556,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34392,
    "c": 0.08275,
    "h": 130.2
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#2A410B
secondary
#4E2A7E
accent
#3AEE87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A410B

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

Preview Lab → · Contrast checker → · Palette generator →

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