#303907#303907

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

Color values

HEX#303907
RGBrgb(48, 57, 7)
HSLhsl(71, 78%, 13%)
HSVhsv(71, 88%, 22%)
CMYKcmyk(15.8%, 0%, 87.7%, 77.6%)
CIE-LABlab(22.20, -11.69, 27.59)
CIE-LCHlch(22.20, 29.96, 112.96°)
OKLaboklab(32.53% -0.0348 0.0613)
OKLCHoklch(32.53% 0.071 119.6)
XYZxyz(2.7205, 3.5700, 0.7467)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303907 #100739
analogous
#392907 #303907 #173907
triadic
#303907 #073039 #390730
tetradic
#303907 #073929 #100739 #390717
square
#303907 #073929 #100739 #390717
split-complementary
#303907 #071739 #290739
monochromatic
#171B03 #171B03 #303907 #5E700E #8CA614

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303907#FFFFFF#000000##FFFFFF
##3039071.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)
#3C350B
Tritanopia (blue-blind)
#333530
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #303907;
/* rgb */ color: rgb(48, 57, 7);
/* oklch */ color: oklch(32.5% 0.071 119.6);
Tailwind
colors: {
  custom: {
    50: '#6a6f4b',
    500: '#303907',
    950: '#000000',
  },
}
SCSS
$custom: #303907;
$custom-light: #6a6f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303907",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 70.8,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32528,
    "c": 0.07053,
    "h": 119.6
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#303907
secondary
#332379
accent
#33F556
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303907

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

Preview Lab → · Contrast checker → · Palette generator →

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