#2A3308#2A3308

#2A3308 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.064 H 120.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#2A3308
RGBrgb(42, 51, 8)
HSLhsl(73, 73%, 12%)
HSVhsv(73, 84%, 20%)
CMYKcmyk(17.6%, 0%, 84.3%, 80%)
CIE-LABlab(19.55, -11.10, 24.12)
CIE-LCHlch(19.55, 26.55, 114.72°)
OKLaboklab(30.26% -0.0327 0.055)
OKLCHoklch(30.26% 0.064 120.7)
XYZxyz(2.1825, 2.8774, 0.6701)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3308 #110833
analogous
#332708 #2A3308 #153308
triadic
#2A3308 #082A33 #33082A
tetradic
#2A3308 #083327 #110833 #330815
square
#2A3308 #083327 #110833 #330815
split-complementary
#2A3308 #081533 #270833
monochromatic
#161A04 #161A04 #2A3308 #566810 #819D19

Accessibility & contrast

On white

13.33
#2A3308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A3308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3308
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3308#FFFFFF#000000##FFFFFF
##2A33081.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F03
Deuteranopia (green-blind)
#362F0B
Tritanopia (blue-blind)
#2D302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3308;
/* rgb */ color: rgb(42, 51, 8);
/* oklch */ color: oklch(30.3% 0.064 120.7);
Tailwind
colors: {
  custom: {
    50: '#656a4b',
    500: '#2a3308',
    950: '#000000',
  },
}
SCSS
$custom: #2a3308;
$custom-light: #656a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3308",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 72.558,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30264,
    "c": 0.06397,
    "h": 120.7
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#2A3308
secondary
#352572
accent
#38F05F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3308

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

Preview Lab → · Contrast checker → · Palette generator →

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