#2A3306#2A3306

#2A3306 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.066 H 120.5°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#2A3306
RGBrgb(42, 51, 6)
HSLhsl(72, 79%, 11%)
HSVhsv(72, 88%, 20%)
CMYKcmyk(17.6%, 0%, 88.2%, 80%)
CIE-LABlab(19.53, -11.26, 24.91)
CIE-LCHlch(19.53, 27.34, 114.32°)
OKLaboklab(30.24% -0.0334 0.0567)
OKLCHoklch(30.24% 0.066 120.5)
XYZxyz(2.1716, 2.8730, 0.6124)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3306 #0F0633
analogous
#332506 #2A3306 #133306
triadic
#2A3306 #062A33 #33062A
tetradic
#2A3306 #063325 #0F0633 #330613
square
#2A3306 #063325 #0F0633 #330613
split-complementary
#2A3306 #061333 #250633
monochromatic
#171B03 #171B03 #2A3306 #576A0C #84A113

Accessibility & contrast

On white

13.34
#2A3306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2A3306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3306
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3306#FFFFFF#000000##FFFFFF
##2A33061.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F01
Deuteranopia (green-blind)
#362F0A
Tritanopia (blue-blind)
#2D302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3306;
/* rgb */ color: rgb(42, 51, 6);
/* oklch */ color: oklch(30.2% 0.066 120.5);
Tailwind
colors: {
  custom: {
    50: '#656a4a',
    500: '#2a3306',
    950: '#000000',
  },
}
SCSS
$custom: #2a3306;
$custom-light: #656a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3306",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 72,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30244,
    "c": 0.06579,
    "h": 120.5
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#2A3306
secondary
#322174
accent
#32F559
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3306

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

Preview Lab → · Contrast checker → · Palette generator →

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