#304E10#304E10

#304E10 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.095 H 132.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#304E10
RGBrgb(48, 78, 16)
HSLhsl(89, 66%, 18%)
HSVhsv(89, 79%, 31%)
CMYKcmyk(38.5%, 0%, 79.5%, 69.4%)
CIE-LABlab(29.70, -22.53, 31.30)
CIE-LCHlch(29.70, 38.57, 125.74°)
OKLaboklab(38.64% -0.0635 0.0703)
OKLCHoklch(38.64% 0.095 132.1)
XYZxyz(4.0368, 6.1144, 1.4576)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304E10 #2E104E
analogous
#4E4D10 #304E10 #114E10
triadic
#304E10 #10304E #4E1030
tetradic
#304E10 #104E4D #2E104E #4E1011
square
#304E10 #104E4D #2E104E #4E1011
split-complementary
#304E10 #10114E #4D104E
monochromatic
#101905 #111B06 #304E10 #4F811A #6FB425

Accessibility & contrast

On white

9.45
#304E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#304E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304E10
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304E10#FFFFFF#000000##FFFFFF
##304E101.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524706
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#314A42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304e10;
/* rgb */ color: rgb(48, 78, 16);
/* oklch */ color: oklch(38.6% 0.095 132.1);
Tailwind
colors: {
  custom: {
    50: '#6b8053',
    500: '#304e10',
    950: '#000000',
  },
}
SCSS
$custom: #304e10;
$custom-light: #6b8053;
$custom-dark: #000000;
JSON
{
  "hex": "#304e10",
  "rgb": {
    "r": 48,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 89.032,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.09478,
    "h": 132.1
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#304E10
secondary
#5C3288
accent
#3FE991
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #304E10

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

Preview Lab → · Contrast checker → · Palette generator →

#304E10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva