#304C10#304C10

#304C10 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.1% C 0.092 H 131.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#304C10
RGBrgb(48, 76, 16)
HSLhsl(88, 65%, 18%)
HSVhsv(88, 79%, 30%)
CMYKcmyk(36.8%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.99, -21.52, 30.59)
CIE-LCHlch(28.99, 37.40, 125.12°)
OKLaboklab(38.06% -0.0608 0.0688)
OKLCHoklch(38.06% 0.092 131.5)
XYZxyz(3.8969, 5.8345, 1.4110)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304C10 #2C104C
analogous
#4C4A10 #304C10 #124C10
triadic
#304C10 #10304C #4C1030
tetradic
#304C10 #104C4A #2C104C #4C1012
square
#304C10 #104C4A #2C104C #4C1012
split-complementary
#304C10 #10124C #4A104C
monochromatic
#101905 #101905 #304C10 #507F1B #70B125

Accessibility & contrast

On white

9.69
#304C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#304C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304C10
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304C10#FFFFFF#000000##FFFFFF
##304C101.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#314940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304c10;
/* rgb */ color: rgb(48, 76, 16);
/* oklch */ color: oklch(38.1% 0.092 131.5);
Tailwind
colors: {
  custom: {
    50: '#6b7e53',
    500: '#304c10',
    950: '#000000',
  },
}
SCSS
$custom: #304c10;
$custom-light: #6b7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#304c10",
  "rgb": {
    "r": 48,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 88,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3806,
    "c": 0.09185,
    "h": 131.5
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#304C10
secondary
#593286
accent
#40E88E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #304C10

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

Preview Lab → · Contrast checker → · Palette generator →

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