#304F10#304F10

#304F10 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.096 H 132.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#304F10
RGBrgb(48, 79, 16)
HSLhsl(90, 66%, 19%)
HSVhsv(90, 80%, 31%)
CMYKcmyk(39.2%, 0%, 79.7%, 69%)
CIE-LABlab(30.05, -23.03, 31.66)
CIE-LCHlch(30.05, 39.15, 126.04°)
OKLaboklab(38.93% -0.0649 0.0711)
OKLCHoklch(38.93% 0.096 132.4)
XYZxyz(4.1084, 6.2576, 1.4815)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F10 #2F104F
analogous
#4F4E10 #304F10 #104F10
triadic
#304F10 #10304F #4F1030
tetradic
#304F10 #104F4E #2F104F #4F1010
square
#304F10 #104F4E #2F104F #4F1010
split-complementary
#304F10 #10104F #4E104F
monochromatic
#0F1905 #111C06 #304F10 #4F821A #6EB525

Accessibility & contrast

On white

9.33
#304F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304F10
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F10#FFFFFF#000000##FFFFFF
##304F101.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534805
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#314B43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304f10;
/* rgb */ color: rgb(48, 79, 16);
/* oklch */ color: oklch(38.9% 0.096 132.4);
Tailwind
colors: {
  custom: {
    50: '#6b8053',
    500: '#304f10',
    950: '#000000',
  },
}
SCSS
$custom: #304f10;
$custom-light: #6b8053;
$custom-dark: #000000;
JSON
{
  "hex": "#304f10",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 89.524,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38926,
    "c": 0.09624,
    "h": 132.4
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#304F10
secondary
#5D3289
accent
#3FE993
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304F10

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

Preview Lab → · Contrast checker → · Palette generator →

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