#303E22#303E22

#303E22 is a dark, muted yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.050 H 130.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#303E22
RGBrgb(48, 62, 34)
HSLhsl(90, 29%, 19%)
HSVhsv(90, 45%, 24%)
CMYKcmyk(22.6%, 0%, 45.2%, 75.7%)
CIE-LABlab(24.29, -11.69, 15.39)
CIE-LCHlch(24.29, 19.33, 127.23°)
OKLaboklab(34.32% -0.0321 0.0378)
OKLCHoklch(34.32% 0.05 130.3)
XYZxyz(3.2302, 4.1891, 2.1514)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E22 #30223E
analogous
#3E3E22 #303E22 #223E22
triadic
#303E22 #22303E #3E2230
tetradic
#303E22 #223E3E #30223E #3E2222
square
#303E22 #223E3E #30223E #3E2222
split-complementary
#303E22 #22223E #3E223E
monochromatic
#0F140B #11160C #303E22 #4F6638 #6D8D4D

Accessibility & contrast

On white

11.43
#303E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#303E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E22
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E22#FFFFFF#000000##FFFFFF
##303E221.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#3E3923
Tritanopia (blue-blind)
#313C37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303e22;
/* rgb */ color: rgb(48, 62, 34);
/* oklch */ color: oklch(34.3% 0.050 130.3);
Tailwind
colors: {
  custom: {
    50: '#69735d',
    500: '#303e22',
    950: '#000000',
  },
}
SCSS
$custom: #303e22;
$custom-light: #69735d;
$custom-dark: #000000;
JSON
{
  "hex": "#303e22",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 29.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34321,
    "c": 0.04959,
    "h": 130.3
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#303E22
secondary
#5E4B71
accent
#62C594
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #303E22

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

Preview Lab → · Contrast checker → · Palette generator →

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