#304910#304910

#304910 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.087 H 130.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#304910
RGBrgb(48, 73, 16)
HSLhsl(86, 64%, 17%)
HSVhsv(86, 78%, 29%)
CMYKcmyk(34.2%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.93, -19.97, 29.52)
CIE-LCHlch(27.93, 35.64, 124.07°)
OKLaboklab(37.19% -0.0566 0.0666)
OKLCHoklch(37.19% 0.087 130.4)
XYZxyz(3.6950, 5.4308, 1.3437)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304910 #291049
analogous
#494610 #304910 #134910
triadic
#304910 #103049 #491030
tetradic
#304910 #104946 #291049 #491013
square
#304910 #104946 #291049 #491013
split-complementary
#304910 #101349 #461049
monochromatic
#111906 #111906 #304910 #517B1B #72AD26

Accessibility & contrast

On white

10.07
#304910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#304910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304910
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304910#FFFFFF#000000##FFFFFF
##3049101.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4307
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#31463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #304910;
/* rgb */ color: rgb(48, 73, 16);
/* oklch */ color: oklch(37.2% 0.087 130.4);
Tailwind
colors: {
  custom: {
    50: '#6b7c52',
    500: '#304910',
    950: '#000000',
  },
}
SCSS
$custom: #304910;
$custom-light: #6b7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#304910",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 86.316,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37194,
    "c": 0.08738,
    "h": 130.4
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#304910
secondary
#553283
accent
#41E78A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304910

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

Preview Lab → · Contrast checker → · Palette generator →

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