#303906#303906

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

Color values

HEX#303906
RGBrgb(48, 57, 6)
HSLhsl(71, 81%, 12%)
HSVhsv(71, 89%, 22%)
CMYKcmyk(15.8%, 0%, 89.5%, 77.6%)
CIE-LABlab(22.19, -11.76, 27.99)
CIE-LCHlch(22.19, 30.36, 112.79°)
OKLaboklab(32.52% -0.0351 0.0621)
OKLCHoklch(32.52% 0.071 119.5)
XYZxyz(2.7150, 3.5678, 0.7179)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303906 #0F0639
analogous
#392806 #303906 #173906
triadic
#303906 #063039 #390630
tetradic
#303906 #063928 #0F0639 #390617
square
#303906 #063928 #0F0639 #390617
split-complementary
#303906 #061739 #280639
monochromatic
#171C03 #171C03 #303906 #5F700C #8DA812

Accessibility & contrast

On white

12.25
#303906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303906
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303906#FFFFFF#000000##FFFFFF
##3039061.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303906;
/* rgb */ color: rgb(48, 57, 6);
/* oklch */ color: oklch(32.5% 0.071 119.5);
Tailwind
colors: {
  custom: {
    50: '#6a6f4b',
    500: '#303906',
    950: '#000000',
  },
}
SCSS
$custom: #303906;
$custom-light: #6a6f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303906",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 70.588,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.3252,
    "c": 0.07134,
    "h": 119.5
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#303906
secondary
#312279
accent
#30F754
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303906

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

Preview Lab → · Contrast checker → · Palette generator →

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