#304710#304710

#304710 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.084 H 129.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#304710
RGBrgb(48, 71, 16)
HSLhsl(85, 63%, 17%)
HSVhsv(85, 77%, 28%)
CMYKcmyk(32.4%, 0%, 77.5%, 72.2%)
CIE-LABlab(27.22, -18.91, 28.80)
CIE-LCHlch(27.22, 34.45, 123.29°)
OKLaboklab(36.62% -0.0537 0.0651)
OKLCHoklch(36.62% 0.084 129.5)
XYZxyz(3.5657, 5.1722, 1.3006)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304710 #271047
analogous
#474310 #304710 #154710
triadic
#304710 #103047 #471030
tetradic
#304710 #104743 #271047 #471015
square
#304710 #104743 #271047 #471015
split-complementary
#304710 #101547 #431047
monochromatic
#111906 #111906 #304710 #52791B #74AB27

Accessibility & contrast

On white

10.32
#304710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#304710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304710
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304710#FFFFFF#000000##FFFFFF
##3047101.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4108
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#32443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304710;
/* rgb */ color: rgb(48, 71, 16);
/* oklch */ color: oklch(36.6% 0.084 129.5);
Tailwind
colors: {
  custom: {
    50: '#6b7a52',
    500: '#304710',
    950: '#000000',
  },
}
SCSS
$custom: #304710;
$custom-light: #6b7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#304710",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 85.091,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36618,
    "c": 0.08437,
    "h": 129.5
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#304710
secondary
#533281
accent
#42E686
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304710

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

Preview Lab → · Contrast checker → · Palette generator →

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