#2A3D0B#2A3D0B

#2A3D0B is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.077 H 128.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2A3D0B
RGBrgb(42, 61, 11)
HSLhsl(83, 69%, 14%)
HSVhsv(83, 82%, 24%)
CMYKcmyk(31.1%, 0%, 82%, 76.1%)
CIE-LABlab(23.18, -16.63, 26.82)
CIE-LCHlch(23.18, 31.56, 121.80°)
OKLaboklab(33.21% -0.0475 0.0602)
OKLCHoklch(33.21% 0.077 128.3)
XYZxyz(2.6840, 3.8538, 0.9190)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D0B #1E0B3D
analogous
#3D370B #2A3D0B #113D0B
triadic
#2A3D0B #0B2A3D #3D0B2A
tetradic
#2A3D0B #0B3D37 #1E0B3D #3D0B11
square
#2A3D0B #0B3D37 #1E0B3D #3D0B11
split-complementary
#2A3D0B #0B113D #370B3D
monochromatic
#121A05 #121A05 #2A3D0B #4E7114 #71A51E

Accessibility & contrast

On white

11.86
#2A3D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3D0B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D0B#FFFFFF#000000##FFFFFF
##2A3D0B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3d0b;
/* rgb */ color: rgb(42, 61, 11);
/* oklch */ color: oklch(33.2% 0.077 128.3);
Tailwind
colors: {
  custom: {
    50: '#66724e',
    500: '#2a3d0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d0b;
$custom-light: #66724e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d0b",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 82.8,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33214,
    "c": 0.0767,
    "h": 128.3
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#2A3D0B
secondary
#482A7A
accent
#3CEC7F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2A3D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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