#304F13#304F13

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

Color values

HEX#304F13
RGBrgb(48, 79, 19)
HSLhsl(91, 61%, 19%)
HSVhsv(91, 76%, 31%)
CMYKcmyk(39.2%, 0%, 75.9%, 69%)
CIE-LABlab(30.08, -22.79, 30.38)
CIE-LCHlch(30.08, 37.97, 126.88°)
OKLaboklab(38.95% -0.064 0.0689)
OKLCHoklch(38.95% 0.094 132.9)
XYZxyz(4.1324, 6.2672, 1.6079)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F13 #32134F
analogous
#4E4F13 #304F13 #134F14
triadic
#304F13 #13304F #4F1330
tetradic
#304F13 #134E4F #32134F #4F1413
square
#304F13 #134E4F #32134F #4F1413
split-complementary
#304F13 #14134F #4F134E
monochromatic
#0F1906 #121E07 #304F13 #4E801F #6CB22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304F13#FFFFFF#000000##FFFFFF
##304F131.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)
#53480A
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#304C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304f13;
/* rgb */ color: rgb(48, 79, 19);
/* oklch */ color: oklch(39.0% 0.094 132.9);
Tailwind
colors: {
  custom: {
    50: '#6b8055',
    500: '#304f13',
    950: '#000000',
  },
}
SCSS
$custom: #304f13;
$custom-light: #6b8055;
$custom-dark: #000000;
JSON
{
  "hex": "#304f13",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 91,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.09401,
    "h": 132.9
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#304F13
secondary
#603688
accent
#43E497
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304F13

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

Preview Lab → · Contrast checker → · Palette generator →

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