#304E16#304E16

#304E16 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.090 H 133.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#304E16
RGBrgb(48, 78, 22)
HSLhsl(92, 56%, 20%)
HSVhsv(92, 72%, 31%)
CMYKcmyk(38.5%, 0%, 71.8%, 69.4%)
CIE-LABlab(29.75, -22.01, 28.62)
CIE-LCHlch(29.75, 36.11, 127.56°)
OKLaboklab(38.7% -0.0616 0.0657)
OKLCHoklch(38.7% 0.09 133.2)
XYZxyz(4.0881, 6.1349, 1.7277)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304E16 #34164E
analogous
#4C4E16 #304E16 #164E18
triadic
#304E16 #16304E #4E1630
tetradic
#304E16 #164C4E #34164E #4E1816
square
#304E16 #164C4E #34164E #4E1816
split-complementary
#304E16 #18164E #4E164C
monochromatic
#0F1807 #131E09 #304E16 #4D7E23 #6BAD31

Accessibility & contrast

On white

9.43
#304E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#304E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304E16
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304E16#FFFFFF#000000##FFFFFF
##304E161.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51480F
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#304B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304e16;
/* rgb */ color: rgb(48, 78, 22);
/* oklch */ color: oklch(38.7% 0.090 133.2);
Tailwind
colors: {
  custom: {
    50: '#6b8056',
    500: '#304e16',
    950: '#000000',
  },
}
SCSS
$custom: #304e16;
$custom-light: #6b8056;
$custom-dark: #000000;
JSON
{
  "hex": "#304e16",
  "rgb": {
    "r": 48,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 92.143,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.09002,
    "h": 133.2
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#304E16
secondary
#633A85
accent
#49DF99
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304E16

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

Preview Lab → · Contrast checker → · Palette generator →

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