#2A4311#2A4311

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

Color values

HEX#2A4311
RGBrgb(42, 67, 17)
HSLhsl(90, 60%, 16%)
HSVhsv(90, 75%, 26%)
CMYKcmyk(37.3%, 0%, 74.6%, 73.7%)
CIE-LABlab(25.40, -19.35, 26.31)
CIE-LCHlch(25.40, 32.66, 126.33°)
OKLaboklab(35.04% -0.0543 0.0601)
OKLCHoklch(35.04% 0.081 132.1)
XYZxyz(3.0631, 4.5469, 1.2465)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4311 #2A1143
analogous
#434311 #2A4311 #114311
triadic
#2A4311 #112A43 #43112A
tetradic
#2A4311 #114343 #2A1143 #431111
square
#2A4311 #114343 #2A1143 #431111
split-complementary
#2A4311 #111143 #431143
monochromatic
#0F1806 #0F1806 #2A4311 #49741D #67A52A

Accessibility & contrast

On white

11.00
#2A4311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4311
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4311#FFFFFF#000000##FFFFFF
##2A43111.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0A
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#2B4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a4311;
/* rgb */ color: rgb(42, 67, 17);
/* oklch */ color: oklch(35.0% 0.081 132.1);
Tailwind
colors: {
  custom: {
    50: '#667752',
    500: '#2a4311',
    950: '#000000',
  },
}
SCSS
$custom: #2a4311;
$custom-light: #667752;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4311",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35037,
    "c": 0.08105,
    "h": 132.1
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#2A4311
secondary
#58337D
accent
#45E394
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4311

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

Preview Lab → · Contrast checker → · Palette generator →

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