#2A4214#2A4214

#2A4214 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.077 H 132.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2A4214
RGBrgb(42, 66, 20)
HSLhsl(91, 53%, 17%)
HSVhsv(91, 70%, 26%)
CMYKcmyk(36.4%, 0%, 69.7%, 74.1%)
CIE-LABlab(25.07, -18.51, 24.42)
CIE-LCHlch(25.07, 30.65, 127.16°)
OKLaboklab(34.78% -0.0518 0.0566)
OKLCHoklch(34.78% 0.077 132.5)
XYZxyz(3.0293, 4.4391, 1.3589)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4214 #2C1442
analogous
#414214 #2A4214 #144215
triadic
#2A4214 #142A42 #42142A
tetradic
#2A4214 #144142 #2C1442 #421514
square
#2A4214 #144142 #2C1442 #421514
split-complementary
#2A4214 #151442 #421441
monochromatic
#0F1707 #0F1707 #2A4214 #487122 #66A030

Accessibility & contrast

On white

11.12
#2A4214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4214
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4214#FFFFFF#000000##FFFFFF
##2A42141.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0F
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#2A3F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4214;
/* rgb */ color: rgb(42, 66, 20);
/* oklch */ color: oklch(34.8% 0.077 132.5);
Tailwind
colors: {
  custom: {
    50: '#667654',
    500: '#2a4214',
    950: '#000000',
  },
}
SCSS
$custom: #2a4214;
$custom-light: #667654;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4214",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 20
  },
  "hsl": {
    "h": 91.304,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.07669,
    "h": 132.5
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#2A4214
secondary
#5A387A
accent
#4BDD97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4214

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

Preview Lab → · Contrast checker → · Palette generator →

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