#303A22#303A22

#303A22 is a dark, muted yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.042 H 127.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#303A22
RGBrgb(48, 58, 34)
HSLhsl(85, 26%, 18%)
HSVhsv(85, 41%, 23%)
CMYKcmyk(17.2%, 0%, 41.4%, 77.3%)
CIE-LABlab(22.90, -9.28, 13.58)
CIE-LCHlch(22.90, 16.45, 124.33°)
OKLaboklab(33.2% -0.0253 0.0336)
OKLCHoklch(33.2% 0.042 127)
XYZxyz(3.0207, 3.7700, 2.0816)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A22 #2C223A
analogous
#3A3822 #303A22 #243A22
triadic
#303A22 #22303A #3A2230
tetradic
#303A22 #223A38 #2C223A #3A2224
square
#303A22 #223A38 #2C223A #3A2224
split-complementary
#303A22 #22243A #38223A
monochromatic
#10130B #10130B #303A22 #506139 #70874F

Accessibility & contrast

On white

11.97
#303A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#303A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A22
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A22#FFFFFF#000000##FFFFFF
##303A221.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#3B3623
Tritanopia (blue-blind)
#313834
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303a22;
/* rgb */ color: rgb(48, 58, 34);
/* oklch */ color: oklch(33.2% 0.042 127.0);
Tailwind
colors: {
  custom: {
    50: '#68705d',
    500: '#303a22',
    950: '#000000',
  },
}
SCSS
$custom: #303a22;
$custom-light: #68705d;
$custom-dark: #000000;
JSON
{
  "hex": "#303a22",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 34
  },
  "hsl": {
    "h": 85,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.33204,
    "c": 0.0421,
    "h": 127
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#303A22
secondary
#594B6D
accent
#65C28C
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #303A22

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

Preview Lab → · Contrast checker → · Palette generator →

#303A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva