#2A3A0E#2A3A0E

#2A3A0E is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.070 H 127.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2A3A0E
RGBrgb(42, 58, 14)
HSLhsl(82, 61%, 14%)
HSVhsv(82, 76%, 23%)
CMYKcmyk(27.6%, 0%, 75.9%, 77.3%)
CIE-LABlab(22.12, -14.70, 24.32)
CIE-LCHlch(22.12, 28.42, 121.15°)
OKLaboklab(32.37% -0.0419 0.0555)
OKLCHoklch(32.37% 0.07 127.1)
XYZxyz(2.5472, 3.5500, 0.9664)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A0E #1E0E3A
analogous
#3A340E #2A3A0E #143A0E
triadic
#2A3A0E #0E2A3A #3A0E2A
tetradic
#2A3A0E #0E3A34 #1E0E3A #3A0E14
square
#2A3A0E #0E3A34 #1E0E3A #3A0E14
split-complementary
#2A3A0E #0E143A #340E3A
monochromatic
#121906 #121906 #2A3A0E #4E6B1A #719D26

Accessibility & contrast

On white

12.28
#2A3A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A3A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A0E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A0E#FFFFFF#000000##FFFFFF
##2A3A0E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3608
Deuteranopia (green-blind)
#3B3511
Tritanopia (blue-blind)
#2C3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a0e;
/* rgb */ color: rgb(42, 58, 14);
/* oklch */ color: oklch(32.4% 0.070 127.1);
Tailwind
colors: {
  custom: {
    50: '#65704f',
    500: '#2a3a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a0e;
$custom-light: #65704f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a0e",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 14
  },
  "hsl": {
    "h": 81.818,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32365,
    "c": 0.06952,
    "h": 127.1
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#2A3A0E
secondary
#482F75
accent
#44E47E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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