#2A4B14#2A4B14

#2A4B14 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.091 H 135.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2A4B14
RGBrgb(42, 75, 20)
HSLhsl(96, 58%, 19%)
HSVhsv(96, 73%, 29%)
CMYKcmyk(44%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.31, -23.13, 27.95)
CIE-LCHlch(28.31, 36.28, 129.62°)
OKLaboklab(37.42% -0.0644 0.064)
OKLCHoklch(37.42% 0.091 135.2)
XYZxyz(3.5971, 5.5747, 1.5482)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B14 #35144B
analogous
#454B14 #2A4B14 #144B19
triadic
#2A4B14 #142A4B #4B142A
tetradic
#2A4B14 #14454B #35144B #4B1914
square
#2A4B14 #14454B #35144B #4B1914
split-complementary
#2A4B14 #19144B #4B1445
monochromatic
#0E1806 #0F1B07 #2A4B14 #457B21 #60AC2E

Accessibility & contrast

On white

9.93
#2A4B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A4B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B14
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B14#FFFFFF#000000##FFFFFF
##2A4B141.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450D
Deuteranopia (green-blind)
#494219
Tritanopia (blue-blind)
#294840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4b14;
/* rgb */ color: rgb(42, 75, 20);
/* oklch */ color: oklch(37.4% 0.091 135.2);
Tailwind
colors: {
  custom: {
    50: '#677d55',
    500: '#2a4b14',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b14;
$custom-light: #677d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b14",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 96,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.09081,
    "h": 135.2
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#2A4B14
secondary
#653883
accent
#47E1A3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4B14

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

Preview Lab → · Contrast checker → · Palette generator →

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