#2A4111#2A4111

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

Color values

HEX#2A4111
RGBrgb(42, 65, 17)
HSLhsl(89, 59%, 16%)
HSVhsv(89, 74%, 25%)
CMYKcmyk(35.4%, 0%, 73.8%, 74.5%)
CIE-LABlab(24.68, -18.28, 25.54)
CIE-LCHlch(24.68, 31.41, 125.60°)
OKLaboklab(34.45% -0.0514 0.0585)
OKLCHoklch(34.45% 0.078 131.3)
XYZxyz(2.9463, 4.3132, 1.2075)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4111 #281141
analogous
#414011 #2A4111 #124111
triadic
#2A4111 #112A41 #41112A
tetradic
#2A4111 #114140 #281141 #411112
square
#2A4111 #114140 #281141 #411112
split-complementary
#2A4111 #111241 #401141
monochromatic
#101806 #101806 #2A4111 #49721E #69A22A

Accessibility & contrast

On white

11.27
#2A4111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4111
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4111#FFFFFF#000000##FFFFFF
##2A41111.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0B
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#2B3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4111;
/* rgb */ color: rgb(42, 65, 17);
/* oklch */ color: oklch(34.4% 0.078 131.3);
Tailwind
colors: {
  custom: {
    50: '#667552',
    500: '#2a4111',
    950: '#000000',
  },
}
SCSS
$custom: #2a4111;
$custom-light: #667552;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4111",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 88.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.0779,
    "h": 131.3
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#2A4111
secondary
#55337B
accent
#46E291
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4111

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

Preview Lab → · Contrast checker → · Palette generator →

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