#2A3903#2A3903

#2A3903 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.077 H 124.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2A3903
RGBrgb(42, 57, 3)
HSLhsl(77, 90%, 12%)
HSVhsv(77, 95%, 22%)
CMYKcmyk(26.3%, 0%, 94.7%, 77.6%)
CIE-LABlab(21.67, -14.99, 28.51)
CIE-LCHlch(21.67, 32.21, 117.74°)
OKLaboklab(31.97% -0.0439 0.0633)
OKLCHoklch(31.97% 0.077 124.8)
XYZxyz(2.4344, 3.4250, 0.6190)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3903 #120339
analogous
#392D03 #2A3903 #0F3903
triadic
#2A3903 #032A39 #39032A
tetradic
#2A3903 #03392D #120339 #39030F
square
#2A3903 #03392D #120339 #39030F
split-complementary
#2A3903 #030F39 #2D0339
monochromatic
#151D02 #151D02 #2A3903 #557306 #80AD09

Accessibility & contrast

On white

12.46
#2A3903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2A3903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3903
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3903#FFFFFF#000000##FFFFFF
##2A39031.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3400
Deuteranopia (green-blind)
#3B3408
Tritanopia (blue-blind)
#2D362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a3903;
/* rgb */ color: rgb(42, 57, 3);
/* oklch */ color: oklch(32.0% 0.077 124.8);
Tailwind
colors: {
  custom: {
    50: '#666f49',
    500: '#2a3903',
    950: '#000000',
  },
}
SCSS
$custom: #2a3903;
$custom-light: #666f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3903",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 76.667,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31969,
    "c": 0.07707,
    "h": 124.8
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#2A3903
secondary
#371C7C
accent
#29FF64
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A3903

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

Preview Lab → · Contrast checker → · Palette generator →

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