#303D0B#303D0B

#303D0B is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.073 H 123.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#303D0B
RGBrgb(48, 61, 11)
HSLhsl(76, 69%, 14%)
HSVhsv(76, 82%, 24%)
CMYKcmyk(21.3%, 0%, 82%, 76.1%)
CIE-LABlab(23.64, -13.76, 27.43)
CIE-LCHlch(23.64, 30.69, 116.63°)
OKLaboklab(33.7% -0.0401 0.0613)
OKLCHoklch(33.7% 0.073 123.2)
XYZxyz(2.9481, 3.9900, 0.9314)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D0B #180B3D
analogous
#3D310B #303D0B #173D0B
triadic
#303D0B #0B303D #3D0B30
tetradic
#303D0B #0B3D31 #180B3D #3D0B17
square
#303D0B #0B3D31 #180B3D #3D0B17
split-complementary
#303D0B #0B173D #310B3D
monochromatic
#141A05 #141A05 #303D0B #597114 #82A51E

Accessibility & contrast

On white

11.68
#303D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303D0B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D0B#FFFFFF#000000##FFFFFF
##303D0B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413904
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#333A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303d0b;
/* rgb */ color: rgb(48, 61, 11);
/* oklch */ color: oklch(33.7% 0.073 123.2);
Tailwind
colors: {
  custom: {
    50: '#6a724e',
    500: '#303d0b',
    950: '#000000',
  },
}
SCSS
$custom: #303d0b;
$custom-light: #6a724e;
$custom-dark: #000000;
JSON
{
  "hex": "#303d0b",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 75.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.07325,
    "h": 123.2
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#303D0B
secondary
#3F2A7A
accent
#3CEC69
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #303D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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