#305810#305810

#305810 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.109 H 134.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#305810
RGBrgb(48, 88, 16)
HSLhsl(93, 69%, 20%)
HSVhsv(93, 82%, 35%)
CMYKcmyk(45.5%, 0%, 81.8%, 65.5%)
CIE-LABlab(33.23, -27.37, 34.77)
CIE-LCHlch(33.23, 44.25, 128.20°)
OKLaboklab(41.53% -0.0766 0.0776)
OKLCHoklch(41.53% 0.109 134.6)
XYZxyz(4.8021, 7.6450, 1.7127)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305810 #381058
analogous
#545810 #305810 #105814
triadic
#305810 #103058 #581030
tetradic
#305810 #105458 #381058 #581410
square
#305810 #105458 #381058 #581410
split-complementary
#305810 #141058 #581054
monochromatic
#0E1A05 #142407 #305810 #4C8C19 #68C023

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305810#FFFFFF#000000##FFFFFF
##3058101.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)
#5C5002
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#2F544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #305810;
/* rgb */ color: rgb(48, 88, 16);
/* oklch */ color: oklch(41.5% 0.109 134.6);
Tailwind
colors: {
  custom: {
    50: '#6d8754',
    500: '#305810',
    950: '#000000',
  },
}
SCSS
$custom: #305810;
$custom-light: #6d8754;
$custom-dark: #000000;
JSON
{
  "hex": "#305810",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 93.333,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.10905,
    "h": 134.6
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#305810
secondary
#673291
accent
#3CEC9E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305810

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

Preview Lab → · Contrast checker → · Palette generator →

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