#304F14#304F14

#304F14 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.093 H 133.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#304F14
RGBrgb(48, 79, 20)
HSLhsl(92, 60%, 19%)
HSVhsv(92, 75%, 31%)
CMYKcmyk(39.2%, 0%, 74.7%, 69%)
CIE-LABlab(30.09, -22.70, 29.93)
CIE-LCHlch(30.09, 37.56, 127.19°)
OKLaboklab(38.96% -0.0637 0.0681)
OKLCHoklch(38.96% 0.093 133.1)
XYZxyz(4.1411, 6.2707, 1.6539)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F14 #33144F
analogous
#4E4F14 #304F14 #144F15
triadic
#304F14 #14304F #4F1430
tetradic
#304F14 #144E4F #33144F #4F1514
square
#304F14 #144E4F #33144F #4F1514
split-complementary
#304F14 #15144F #4F144E
monochromatic
#0F1806 #121E08 #304F14 #4E8020 #6BB12D

Accessibility & contrast

On white

9.32
#304F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#304F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F14
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F14#FFFFFF#000000##FFFFFF
##304F141.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480B
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#304C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304f14;
/* rgb */ color: rgb(48, 79, 20);
/* oklch */ color: oklch(39.0% 0.093 133.1);
Tailwind
colors: {
  custom: {
    50: '#6b8055',
    500: '#304f14',
    950: '#000000',
  },
}
SCSS
$custom: #304f14;
$custom-light: #6b8055;
$custom-dark: #000000;
JSON
{
  "hex": "#304f14",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 91.525,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.09322,
    "h": 133.1
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#304F14
secondary
#613887
accent
#45E398
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304F14

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

Preview Lab → · Contrast checker → · Palette generator →

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