#2A450E#2A450E

#2A450E is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.087 H 132.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2A450E
RGBrgb(42, 69, 14)
HSLhsl(89, 66%, 16%)
HSVhsv(89, 80%, 27%)
CMYKcmyk(39.1%, 0%, 79.7%, 72.9%)
CIE-LABlab(26.10, -20.65, 28.43)
CIE-LCHlch(26.10, 35.14, 125.99°)
OKLaboklab(35.6% -0.0582 0.0641)
OKLCHoklch(35.6% 0.087 132.2)
XYZxyz(3.1622, 4.7801, 1.1714)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A450E #290E45
analogous
#45450E #2A450E #0F450E
triadic
#2A450E #0E2A45 #450E2A
tetradic
#2A450E #0E4545 #290E45 #450E0F
square
#2A450E #0E4545 #290E45 #450E0F
split-complementary
#2A450E #0E0F45 #450E45
monochromatic
#0F1905 #0F1905 #2A450E #497818 #68AB23

Accessibility & contrast

On white

10.74
#2A450E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A450E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A450E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A450E#FFFFFF#000000##FFFFFF
##2A450E1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F05
Deuteranopia (green-blind)
#453D13
Tritanopia (blue-blind)
#2B423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a450e;
/* rgb */ color: rgb(42, 69, 14);
/* oklch */ color: oklch(35.6% 0.087 132.2);
Tailwind
colors: {
  custom: {
    50: '#667950',
    500: '#2a450e',
    950: '#000000',
  },
}
SCSS
$custom: #2a450e;
$custom-light: #667950;
$custom-dark: #000000;
JSON
{
  "hex": "#2a450e",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 89.455,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35596,
    "c": 0.08655,
    "h": 132.2
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#2A450E
secondary
#572F80
accent
#3FE992
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A450E

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

Preview Lab → · Contrast checker → · Palette generator →

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