#303905#303905

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

Color values

HEX#303905
RGBrgb(48, 57, 5)
HSLhsl(70, 84%, 12%)
HSVhsv(70, 91%, 22%)
CMYKcmyk(15.8%, 0%, 91.2%, 77.6%)
CIE-LABlab(22.18, -11.83, 28.39)
CIE-LCHlch(22.18, 30.75, 112.62°)
OKLaboklab(32.51% -0.0355 0.0628)
OKLCHoklch(32.51% 0.072 119.4)
XYZxyz(2.7095, 3.5656, 0.6890)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303905 #0E0539
analogous
#392805 #303905 #163905
triadic
#303905 #053039 #390530
tetradic
#303905 #053928 #0E0539 #390516
square
#303905 #053928 #0E0539 #390516
split-complementary
#303905 #051639 #280539
monochromatic
#181C02 #181C02 #303905 #5F710A #8FAA0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303905#FFFFFF#000000##FFFFFF
##3039051.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)
#3C3509
Tritanopia (blue-blind)
#33352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #303905;
/* rgb */ color: rgb(48, 57, 5);
/* oklch */ color: oklch(32.5% 0.072 119.4);
Tailwind
colors: {
  custom: {
    50: '#6a6f4a',
    500: '#303905',
    950: '#000000',
  },
}
SCSS
$custom: #303905;
$custom-light: #6a6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303905",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 70.385,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32511,
    "c": 0.07215,
    "h": 119.4
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#303905
secondary
#2F207A
accent
#2EFA51
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303905

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

Preview Lab → · Contrast checker → · Palette generator →

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