#2A3D06#2A3D06

#2A3D06 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.080 H 127.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2A3D06
RGBrgb(42, 61, 6)
HSLhsl(81, 82%, 13%)
HSVhsv(81, 90%, 24%)
CMYKcmyk(31.1%, 0%, 90.2%, 76.1%)
CIE-LABlab(23.14, -16.99, 28.83)
CIE-LCHlch(23.14, 33.47, 120.51°)
OKLaboklab(33.17% -0.049 0.0638)
OKLCHoklch(33.17% 0.08 127.5)
XYZxyz(2.6565, 3.8428, 0.7740)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D06 #19063D
analogous
#3D3406 #2A3D06 #0E3D06
triadic
#2A3D06 #062A3D #3D062A
tetradic
#2A3D06 #063D34 #19063D #3D060E
square
#2A3D06 #063D34 #19063D #3D060E
split-complementary
#2A3D06 #060E3D #34063D
monochromatic
#131C03 #131C03 #2A3D06 #50750B #77AC11

Accessibility & contrast

On white

11.87
#2A3D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A3D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D06
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D06#FFFFFF#000000##FFFFFF
##2A3D061.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#2C3A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3d06;
/* rgb */ color: rgb(42, 61, 6);
/* oklch */ color: oklch(33.2% 0.080 127.5);
Tailwind
colors: {
  custom: {
    50: '#66724b',
    500: '#2a3d06',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d06;
$custom-light: #66724b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d06",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 80.727,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33172,
    "c": 0.08042,
    "h": 127.5
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#2A3D06
secondary
#41227D
accent
#2FF875
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3D06

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

Preview Lab → · Contrast checker → · Palette generator →

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