#2A3309#2A3309

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

Color values

HEX#2A3309
RGBrgb(42, 51, 9)
HSLhsl(73, 70%, 12%)
HSVhsv(73, 82%, 20%)
CMYKcmyk(17.6%, 0%, 82.4%, 80%)
CIE-LABlab(19.56, -11.02, 23.72)
CIE-LCHlch(19.56, 26.15, 114.92°)
OKLaboklab(30.27% -0.0323 0.0542)
OKLCHoklch(30.27% 0.063 120.8)
XYZxyz(2.1880, 2.8796, 0.6989)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3309 #120933
analogous
#332709 #2A3309 #153309
triadic
#2A3309 #092A33 #33092A
tetradic
#2A3309 #093327 #120933 #330915
square
#2A3309 #093327 #120933 #330915
split-complementary
#2A3309 #091533 #270933
monochromatic
#151A05 #151A05 #2A3309 #556712 #809B1B

Accessibility & contrast

On white

13.32
#2A3309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3309
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3309#FFFFFF#000000##FFFFFF
##2A33091.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3309;
/* rgb */ color: rgb(42, 51, 9);
/* oklch */ color: oklch(30.3% 0.063 120.8);
Tailwind
colors: {
  custom: {
    50: '#656a4b',
    500: '#2a3309',
    950: '#000000',
  },
}
SCSS
$custom: #2a3309;
$custom-light: #656a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3309",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 9
  },
  "hsl": {
    "h": 72.857,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30274,
    "c": 0.06307,
    "h": 120.8
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#2A3309
secondary
#372771
accent
#3BED61
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3309

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

Preview Lab → · Contrast checker → · Palette generator →

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