#303903#303903

#303903 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.074 H 119.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#303903
RGBrgb(48, 57, 3)
HSLhsl(70, 90%, 12%)
HSVhsv(70, 95%, 22%)
CMYKcmyk(15.8%, 0%, 94.7%, 77.6%)
CIE-LABlab(22.16, -11.97, 29.18)
CIE-LCHlch(22.16, 31.54, 112.30°)
OKLaboklab(32.49% -0.0361 0.0644)
OKLCHoklch(32.49% 0.074 119.3)
XYZxyz(2.6986, 3.5612, 0.6314)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303903 #0C0339
analogous
#392703 #303903 #153903
triadic
#303903 #033039 #390330
tetradic
#303903 #033927 #0C0339 #390315
square
#303903 #033927 #0C0339 #390315
split-complementary
#303903 #031539 #270339
monochromatic
#181D02 #181D02 #303903 #617306 #92AD09

Accessibility & contrast

On white

12.26
#303903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#303903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303903
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303903#FFFFFF#000000##FFFFFF
##3039031.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3508
Tritanopia (blue-blind)
#34352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #303903;
/* rgb */ color: rgb(48, 57, 3);
/* oklch */ color: oklch(32.5% 0.074 119.3);
Tailwind
colors: {
  custom: {
    50: '#6a6f49',
    500: '#303903',
    950: '#000000',
  },
}
SCSS
$custom: #303903;
$custom-light: #6a6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#303903",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 70,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.32493,
    "c": 0.07381,
    "h": 119.3
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#303903
secondary
#2C1C7C
accent
#29FF4D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303903

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

Preview Lab → · Contrast checker → · Palette generator →

#303903 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva