#2A4309#2A4309

#2A4309 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.087 H 130.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2A4309
RGBrgb(42, 67, 9)
HSLhsl(86, 76%, 15%)
HSVhsv(86, 87%, 26%)
CMYKcmyk(37.3%, 0%, 86.6%, 73.7%)
CIE-LABlab(25.34, -19.98, 29.77)
CIE-LCHlch(25.34, 35.85, 123.87°)
OKLaboklab(34.97% -0.0568 0.066)
OKLCHoklch(34.97% 0.087 130.7)
XYZxyz(3.0113, 4.5262, 0.9734)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4309 #220943
analogous
#433F09 #2A4309 #0D4309
triadic
#2A4309 #092A43 #43092A
tetradic
#2A4309 #09433F #220943 #43090D
square
#2A4309 #09433F #220943 #43090D
split-complementary
#2A4309 #090D43 #3F0943
monochromatic
#111B04 #111B04 #2A4309 #4C7910 #6EAF17

Accessibility & contrast

On white

11.02
#2A4309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A4309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4309
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4309#FFFFFF#000000##FFFFFF
##2A43091.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#2B4038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a4309;
/* rgb */ color: rgb(42, 67, 9);
/* oklch */ color: oklch(35.0% 0.087 130.7);
Tailwind
colors: {
  custom: {
    50: '#66774e',
    500: '#2a4309',
    950: '#000000',
  },
}
SCSS
$custom: #2a4309;
$custom-light: #66774e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4309",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 9
  },
  "hsl": {
    "h": 85.862,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.08706,
    "h": 130.7
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#2A4309
secondary
#4E2781
accent
#35F387
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4309

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

Preview Lab → · Contrast checker → · Palette generator →

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