#2A4210#2A4210

#2A4210 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.080 H 131.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2A4210
RGBrgb(42, 66, 16)
HSLhsl(89, 61%, 16%)
HSVhsv(89, 76%, 26%)
CMYKcmyk(36.4%, 0%, 75.8%, 74.1%)
CIE-LABlab(25.03, -18.91, 26.41)
CIE-LCHlch(25.03, 32.48, 125.61°)
OKLaboklab(34.73% -0.0532 0.0602)
OKLCHoklch(34.73% 0.08 131.5)
XYZxyz(2.9966, 4.4260, 1.1865)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4210 #281042
analogous
#424110 #2A4210 #114210
triadic
#2A4210 #102A42 #42102A
tetradic
#2A4210 #104241 #281042 #421011
square
#2A4210 #104241 #281042 #421011
split-complementary
#2A4210 #101142 #411042
monochromatic
#101906 #101906 #2A4210 #49731C #69A528

Accessibility & contrast

On white

11.14
#2A4210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A4210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4210
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4210#FFFFFF#000000##FFFFFF
##2A42101.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D09
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#2B3F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4210;
/* rgb */ color: rgb(42, 66, 16);
/* oklch */ color: oklch(34.7% 0.080 131.5);
Tailwind
colors: {
  custom: {
    50: '#667651',
    500: '#2a4210',
    950: '#000000',
  },
}
SCSS
$custom: #2a4210;
$custom-light: #667651;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4210",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 16
  },
  "hsl": {
    "h": 88.8,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34733,
    "c": 0.08035,
    "h": 131.5
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#2A4210
secondary
#55327C
accent
#44E491
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4210

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

Preview Lab → · Contrast checker → · Palette generator →

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