#305814#305814

#305814 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.106 H 135.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#305814
RGBrgb(48, 88, 20)
HSLhsl(95, 63%, 21%)
HSVhsv(95, 77%, 35%)
CMYKcmyk(45.5%, 0%, 77.3%, 65.5%)
CIE-LABlab(33.26, -27.07, 33.19)
CIE-LCHlch(33.26, 42.83, 129.20°)
OKLaboklab(41.56% -0.0755 0.0749)
OKLCHoklch(41.56% 0.106 135.2)
XYZxyz(4.8348, 7.6581, 1.8851)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305814 #3C1458
analogous
#525814 #305814 #14581A
triadic
#305814 #143058 #581430
tetradic
#305814 #145258 #3C1458 #581A14
square
#305814 #145258 #3C1458 #581A14
split-complementary
#305814 #1A1458 #581452
monochromatic
#0E1906 #152609 #305814 #4B8A1F #66BC2B

Accessibility & contrast

On white

8.30
#305814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#305814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305814
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305814#FFFFFF#000000##FFFFFF
##3058141.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#2F544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #305814;
/* rgb */ color: rgb(48, 88, 20);
/* oklch */ color: oklch(41.6% 0.106 135.2);
Tailwind
colors: {
  custom: {
    50: '#6c8756',
    500: '#305814',
    950: '#000000',
  },
}
SCSS
$custom: #305814;
$custom-light: #6c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#305814",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 95.294,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.10638,
    "h": 135.2
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#305814
secondary
#6C3890
accent
#42E6A2
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305814

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

Preview Lab → · Contrast checker → · Palette generator →

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