#2A3B06#2A3B06

#2A3B06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.077 H 126.4°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2A3B06
RGBrgb(42, 59, 6)
HSLhsl(79, 82%, 13%)
HSVhsv(79, 90%, 23%)
CMYKcmyk(28.8%, 0%, 89.8%, 76.9%)
CIE-LABlab(22.42, -15.89, 28.08)
CIE-LCHlch(22.42, 32.27, 119.50°)
OKLaboklab(32.58% -0.046 0.0624)
OKLCHoklch(32.58% 0.078 126.4)
XYZxyz(2.5517, 3.6333, 0.7391)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B06 #17063B
analogous
#3B3106 #2A3B06 #103B06
triadic
#2A3B06 #062A3B #3B062A
tetradic
#2A3B06 #063B31 #17063B #3B0610
square
#2A3B06 #063B31 #17063B #3B0610
split-complementary
#2A3B06 #06103B #31063B
monochromatic
#141C03 #141C03 #2A3B06 #52730C #79AA11

Accessibility & contrast

On white

12.16
#2A3B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B06
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B06#FFFFFF#000000##FFFFFF
##2A3B061.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#2C3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3b06;
/* rgb */ color: rgb(42, 59, 6);
/* oklch */ color: oklch(32.6% 0.077 126.4);
Tailwind
colors: {
  custom: {
    50: '#66714b',
    500: '#2a3b06',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b06;
$custom-light: #66714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b06",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 79.245,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.0775,
    "h": 126.4
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#2A3B06
secondary
#3E227B
accent
#30F870
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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