#304703#304703

#304703 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.093 H 127.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#304703
RGBrgb(48, 71, 3)
HSLhsl(80, 92%, 15%)
HSVhsv(80, 96%, 28%)
CMYKcmyk(32.4%, 0%, 95.8%, 72.2%)
CIE-LABlab(27.13, -19.76, 33.98)
CIE-LCHlch(27.13, 39.31, 120.17°)
OKLaboklab(36.52% -0.0572 0.0733)
OKLCHoklch(36.52% 0.093 127.9)
XYZxyz(3.4886, 5.1413, 0.8947)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304703 #1A0347
analogous
#473C03 #304703 #0E4703
triadic
#304703 #033047 #470330
tetradic
#304703 #03473C #1A0347 #47030E
square
#304703 #03473C #1A0347 #47030E
split-complementary
#304703 #030E47 #3C0347
monochromatic
#141D01 #141D01 #304703 #588205 #7FBC08

Accessibility & contrast

On white

10.35
#304703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#304703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304703
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304703#FFFFFF#000000##FFFFFF
##3047031.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#48400B
Tritanopia (blue-blind)
#32433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304703;
/* rgb */ color: rgb(48, 71, 3);
/* oklch */ color: oklch(36.5% 0.093 127.9);
Tailwind
colors: {
  custom: {
    50: '#6b7a4b',
    500: '#304703',
    950: '#000000',
  },
}
SCSS
$custom: #304703;
$custom-light: #6b7a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#304703",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 80.294,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3652,
    "c": 0.09299,
    "h": 127.9
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#304703
secondary
#421E88
accent
#29FF71
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #304703

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

Preview Lab → · Contrast checker → · Palette generator →

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