#303C22#303C22

#303C22 is a dark, muted yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.046 H 128.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#303C22
RGBrgb(48, 60, 34)
HSLhsl(88, 28%, 18%)
HSVhsv(88, 43%, 24%)
CMYKcmyk(20%, 0%, 43.3%, 76.5%)
CIE-LABlab(23.59, -10.49, 14.49)
CIE-LCHlch(23.59, 17.89, 125.91°)
OKLaboklab(33.76% -0.0287 0.0357)
OKLCHoklch(33.76% 0.046 128.8)
XYZxyz(3.1235, 3.9755, 2.1159)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C22 #2E223C
analogous
#3C3B22 #303C22 #233C22
triadic
#303C22 #22303C #3C2230
tetradic
#303C22 #223C3B #2E223C #3C2223
square
#303C22 #223C3B #2E223C #3C2223
split-complementary
#303C22 #22233C #3B223C
monochromatic
#10140B #11150C #303C22 #4F6338 #6F8A4E

Accessibility & contrast

On white

11.70
#303C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#303C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C22
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C22#FFFFFF#000000##FFFFFF
##303C221.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3920
Deuteranopia (green-blind)
#3D3823
Tritanopia (blue-blind)
#313A35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303c22;
/* rgb */ color: rgb(48, 60, 34);
/* oklch */ color: oklch(33.8% 0.046 128.8);
Tailwind
colors: {
  custom: {
    50: '#69715d',
    500: '#303c22',
    950: '#000000',
  },
}
SCSS
$custom: #303c22;
$custom-light: #69715d;
$custom-dark: #000000;
JSON
{
  "hex": "#303c22",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 34
  },
  "hsl": {
    "h": 87.692,
    "s": 27.66,
    "l": 18.431
  },
  "oklch": {
    "l": 0.33761,
    "c": 0.04586,
    "h": 128.8
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#303C22
secondary
#5C4B6F
accent
#64C490
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #303C22

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

Preview Lab → · Contrast checker → · Palette generator →

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