#2A4317#2A4317

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

Color values

HEX#2A4317
RGBrgb(42, 67, 23)
HSLhsl(94, 49%, 18%)
HSVhsv(94, 66%, 26%)
CMYKcmyk(37.3%, 0%, 65.7%, 73.7%)
CIE-LABlab(25.47, -18.70, 23.25)
CIE-LCHlch(25.47, 29.84, 128.81°)
OKLaboklab(35.11% -0.052 0.0545)
OKLCHoklch(35.11% 0.075 133.7)
XYZxyz(3.1166, 4.5683, 1.5280)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4317 #301743
analogous
#404317 #2A4317 #17431A
triadic
#2A4317 #172A43 #43172A
tetradic
#2A4317 #174043 #301743 #431A17
square
#2A4317 #174043 #301743 #431A17
split-complementary
#2A4317 #1A1743 #431740
monochromatic
#0E1708 #0E1708 #2A4317 #477127 #639E36

Accessibility & contrast

On white

10.97
#2A4317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4317
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4317#FFFFFF#000000##FFFFFF
##2A43171.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4317;
/* rgb */ color: rgb(42, 67, 23);
/* oklch */ color: oklch(35.1% 0.075 133.7);
Tailwind
colors: {
  custom: {
    50: '#657756',
    500: '#2a4317',
    950: '#000000',
  },
}
SCSS
$custom: #2a4317;
$custom-light: #657756;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4317",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 23
  },
  "hsl": {
    "h": 94.091,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.07531,
    "h": 133.7
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#2A4317
secondary
#5F3C7A
accent
#4FD89D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2A4317

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

Preview Lab → · Contrast checker → · Palette generator →

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