#305010#305010

#305010 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.098 H 132.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#305010
RGBrgb(48, 80, 16)
HSLhsl(90, 67%, 19%)
HSVhsv(90, 80%, 31%)
CMYKcmyk(40%, 0%, 80%, 68.6%)
CIE-LABlab(30.41, -23.53, 32.01)
CIE-LCHlch(30.41, 39.72, 126.32°)
OKLaboklab(39.22% -0.0662 0.0718)
OKLCHoklch(39.22% 0.098 132.7)
XYZxyz(4.1811, 6.4029, 1.5057)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305010 #301050
analogous
#505010 #305010 #105010
triadic
#305010 #103050 #501030
tetradic
#305010 #105050 #301050 #501010
square
#305010 #105050 #301050 #501010
split-complementary
#305010 #101050 #501050
monochromatic
#0F1A05 #111D06 #305010 #4F831A #6DB624

Accessibility & contrast

On white

9.21
#305010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#305010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305010
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305010#FFFFFF#000000##FFFFFF
##3050101.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544905
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#304C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305010;
/* rgb */ color: rgb(48, 80, 16);
/* oklch */ color: oklch(39.2% 0.098 132.7);
Tailwind
colors: {
  custom: {
    50: '#6c8153',
    500: '#305010',
    950: '#000000',
  },
}
SCSS
$custom: #305010;
$custom-light: #6c8153;
$custom-dark: #000000;
JSON
{
  "hex": "#305010",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 90,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39215,
    "c": 0.09769,
    "h": 132.7
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#305010
secondary
#5E328A
accent
#3EEA94
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305010

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

Preview Lab → · Contrast checker → · Palette generator →

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