#2A3207#2A3207

#2A3207 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.063 H 119.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#2A3207
RGBrgb(42, 50, 7)
HSLhsl(71, 75%, 11%)
HSVhsv(71, 86%, 20%)
CMYKcmyk(16%, 0%, 86%, 80.4%)
CIE-LABlab(19.18, -10.58, 24.10)
CIE-LCHlch(19.18, 26.32, 113.69°)
OKLaboklab(29.96% -0.0313 0.0551)
OKLCHoklch(29.96% 0.063 119.6)
XYZxyz(2.1338, 2.7888, 0.6268)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3207 #0F0732
analogous
#322407 #2A3207 #143207
triadic
#2A3207 #072A32 #32072A
tetradic
#2A3207 #073224 #0F0732 #320714
square
#2A3207 #073224 #0F0732 #320714
split-complementary
#2A3207 #071432 #240732
monochromatic
#171B04 #171B04 #2A3207 #57680F #849D16

Accessibility & contrast

On white

13.48
#2A3207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A3207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3207
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3207#FFFFFF#000000##FFFFFF
##2A32071.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F02
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#2D2F2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3207;
/* rgb */ color: rgb(42, 50, 7);
/* oklch */ color: oklch(30.0% 0.063 119.6);
Tailwind
colors: {
  custom: {
    50: '#65694a',
    500: '#2a3207',
    950: '#000000',
  },
}
SCSS
$custom: #2a3207;
$custom-light: #65694a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3207",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 7
  },
  "hsl": {
    "h": 71.163,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29964,
    "c": 0.0634,
    "h": 119.6
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#2A3207
secondary
#322372
accent
#36F259
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3207

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

Preview Lab → · Contrast checker → · Palette generator →

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