#2A4213#2A4213

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

Color values

HEX#2A4213
RGBrgb(42, 66, 19)
HSLhsl(91, 55%, 17%)
HSVhsv(91, 71%, 26%)
CMYKcmyk(36.4%, 0%, 71.2%, 74.1%)
CIE-LABlab(25.06, -18.62, 24.93)
CIE-LCHlch(25.06, 31.12, 126.75°)
OKLaboklab(34.77% -0.0521 0.0575)
OKLCHoklch(34.77% 0.078 132.2)
XYZxyz(3.0206, 4.4356, 1.3130)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4213 #2B1342
analogous
#424213 #2A4213 #134214
triadic
#2A4213 #132A42 #42132A
tetradic
#2A4213 #134242 #2B1342 #421413
square
#2A4213 #134242 #2B1342 #421413
split-complementary
#2A4213 #141342 #421342
monochromatic
#0F1807 #0F1807 #2A4213 #487221 #66A12E

Accessibility & contrast

On white

11.13
#2A4213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4213
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4213#FFFFFF#000000##FFFFFF
##2A42131.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4213;
/* rgb */ color: rgb(42, 66, 19);
/* oklch */ color: oklch(34.8% 0.078 132.2);
Tailwind
colors: {
  custom: {
    50: '#667653',
    500: '#2a4213',
    950: '#000000',
  },
}
SCSS
$custom: #2a4213;
$custom-light: #667653;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4213",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 90.638,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.07764,
    "h": 132.2
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#2A4213
secondary
#59367B
accent
#49DF95
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4213

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

Preview Lab → · Contrast checker → · Palette generator →

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