#305013#305013

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

Color values

HEX#305013
RGBrgb(48, 80, 19)
HSLhsl(91, 62%, 19%)
HSVhsv(91, 76%, 31%)
CMYKcmyk(40%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.43, -23.29, 30.74)
CIE-LCHlch(30.43, 38.57, 127.15°)
OKLaboklab(39.24% -0.0653 0.0696)
OKLCHoklch(39.24% 0.096 133.2)
XYZxyz(4.2051, 6.4125, 1.6321)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305013 #331350
analogous
#4F5013 #305013 #135014
triadic
#305013 #133050 #501330
tetradic
#305013 #134F50 #331350 #501413
square
#305013 #134F50 #331350 #501413
split-complementary
#305013 #141350 #50134F
monochromatic
#0F1906 #121F07 #305013 #4E811F #6BB32A

Accessibility & contrast

On white

9.20
#305013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #305013
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305013#FFFFFF#000000##FFFFFF
##3050131.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544909
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#304D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305013;
/* rgb */ color: rgb(48, 80, 19);
/* oklch */ color: oklch(39.2% 0.096 133.2);
Tailwind
colors: {
  custom: {
    50: '#6b8155',
    500: '#305013',
    950: '#000000',
  },
}
SCSS
$custom: #305013;
$custom-light: #6b8155;
$custom-dark: #000000;
JSON
{
  "hex": "#305013",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 91.475,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.0955,
    "h": 133.2
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#305013
secondary
#613689
accent
#43E598
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305013

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

Preview Lab → · Contrast checker → · Palette generator →

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