#305710#305710

#305710 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.108 H 134.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#305710
RGBrgb(48, 87, 16)
HSLhsl(93, 69%, 20%)
HSVhsv(93, 82%, 34%)
CMYKcmyk(44.8%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.88, -26.90, 34.43)
CIE-LCHlch(32.88, 43.69, 128.00°)
OKLaboklab(41.24% -0.0754 0.0769)
OKLCHoklch(41.24% 0.108 134.4)
XYZxyz(4.7206, 7.4819, 1.6855)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305710 #371057
analogous
#535710 #305710 #105714
triadic
#305710 #103057 #571030
tetradic
#305710 #105357 #371057 #571410
square
#305710 #105357 #371057 #571410
split-complementary
#305710 #141057 #571053
monochromatic
#0E1A05 #132306 #305710 #4D8B1A #69BE23

Accessibility & contrast

On white

8.41
#305710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#305710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305710
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305710#FFFFFF#000000##FFFFFF
##3057101.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F02
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#2F534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #305710;
/* rgb */ color: rgb(48, 87, 16);
/* oklch */ color: oklch(41.2% 0.108 134.4);
Tailwind
colors: {
  custom: {
    50: '#6c8754',
    500: '#305710',
    950: '#000000',
  },
}
SCSS
$custom: #305710;
$custom-light: #6c8754;
$custom-dark: #000000;
JSON
{
  "hex": "#305710",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 92.958,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41238,
    "c": 0.10765,
    "h": 134.4
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#305710
secondary
#663290
accent
#3CEC9D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305710

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

Preview Lab → · Contrast checker → · Palette generator →

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