#304603#304603

#304603 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.092 H 127.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#304603
RGBrgb(48, 70, 3)
HSLhsl(80, 92%, 14%)
HSVhsv(80, 96%, 27%)
CMYKcmyk(31.4%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.78, -19.23, 33.67)
CIE-LCHlch(26.78, 38.78, 119.73°)
OKLaboklab(36.23% -0.0558 0.0727)
OKLCHoklch(36.23% 0.092 127.5)
XYZxyz(3.4255, 5.0152, 0.8737)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304603 #190346
analogous
#463B03 #304603 #0F4603
triadic
#304603 #033046 #460330
tetradic
#304603 #03463B #190346 #46030F
square
#304603 #03463B #190346 #46030F
split-complementary
#304603 #030F46 #3B0346
monochromatic
#141D01 #141D01 #304603 #588106 #80BB08

Accessibility & contrast

On white

10.48
#304603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#304603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304603
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304603#FFFFFF#000000##FFFFFF
##3046031.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0A
Tritanopia (blue-blind)
#32423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304603;
/* rgb */ color: rgb(48, 70, 3);
/* oklch */ color: oklch(36.2% 0.092 127.5);
Tailwind
colors: {
  custom: {
    50: '#6b794b',
    500: '#304603',
    950: '#000000',
  },
}
SCSS
$custom: #304603;
$custom-light: #6b794b;
$custom-dark: #000000;
JSON
{
  "hex": "#304603",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 79.701,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.09162,
    "h": 127.5
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#304603
secondary
#401D87
accent
#29FF6F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #304603

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

Preview Lab → · Contrast checker → · Palette generator →

#304603 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva