#2A4315#2A4315

#2A4315 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.1% C 0.077 H 133.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2A4315
RGBrgb(42, 67, 21)
HSLhsl(93, 52%, 17%)
HSVhsv(93, 69%, 26%)
CMYKcmyk(37.3%, 0%, 68.7%, 73.7%)
CIE-LABlab(25.44, -18.93, 24.31)
CIE-LCHlch(25.44, 30.81, 127.92°)
OKLaboklab(35.08% -0.0528 0.0565)
OKLCHoklch(35.08% 0.077 133.1)
XYZxyz(3.0973, 4.5606, 1.4264)
Luminance0.0456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4315 #2E1543
analogous
#414315 #2A4315 #154317
triadic
#2A4315 #152A43 #43152A
tetradic
#2A4315 #154143 #2E1543 #431715
square
#2A4315 #154143 #2E1543 #431715
split-complementary
#2A4315 #171543 #431541
monochromatic
#0F1707 #0F1707 #2A4315 #477224 #64A032

Accessibility & contrast

On white

10.98
#2A4315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4315
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4315#FFFFFF#000000##FFFFFF
##2A43151.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E10
Deuteranopia (green-blind)
#423C18
Tritanopia (blue-blind)
#2A4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a4315;
/* rgb */ color: rgb(42, 67, 21);
/* oklch */ color: oklch(35.1% 0.077 133.1);
Tailwind
colors: {
  custom: {
    50: '#667754',
    500: '#2a4315',
    950: '#000000',
  },
}
SCSS
$custom: #2a4315;
$custom-light: #667754;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4315",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 21
  },
  "hsl": {
    "h": 92.609,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.07732,
    "h": 133.1
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#2A4315
secondary
#5D397B
accent
#4CDC9A
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2A4315

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

Preview Lab → · Contrast checker → · Palette generator →

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