#2A4109#2A4109

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

Color values

HEX#2A4109
RGBrgb(42, 65, 9)
HSLhsl(85, 76%, 15%)
HSVhsv(85, 86%, 25%)
CMYKcmyk(35.4%, 0%, 86.2%, 74.5%)
CIE-LABlab(24.62, -18.93, 29.08)
CIE-LCHlch(24.62, 34.69, 123.07°)
OKLaboklab(34.38% -0.0539 0.0646)
OKLCHoklch(34.38% 0.084 129.9)
XYZxyz(2.8944, 4.2925, 0.9344)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4109 #200941
analogous
#413C09 #2A4109 #0E4109
triadic
#2A4109 #092A41 #41092A
tetradic
#2A4109 #09413C #200941 #41090E
square
#2A4109 #09413C #200941 #41090E
split-complementary
#2A4109 #090E41 #3C0941
monochromatic
#111B04 #111B04 #2A4109 #4D7710 #6FAD18

Accessibility & contrast

On white

11.30
#2A4109 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4109
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4109#FFFFFF#000000##FFFFFF
##2A41091.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C01
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#2B3E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a4109;
/* rgb */ color: rgb(42, 65, 9);
/* oklch */ color: oklch(34.4% 0.084 129.9);
Tailwind
colors: {
  custom: {
    50: '#66754d',
    500: '#2a4109',
    950: '#000000',
  },
}
SCSS
$custom: #2a4109;
$custom-light: #66754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4109",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 9
  },
  "hsl": {
    "h": 84.643,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34376,
    "c": 0.08413,
    "h": 129.9
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#2A4109
secondary
#4B277F
accent
#36F283
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A4109

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

Preview Lab → · Contrast checker → · Palette generator →

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