#304205#304205

#304205 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.085 H 125.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#304205
RGBrgb(48, 66, 5)
HSLhsl(78, 86%, 14%)
HSVhsv(78, 92%, 26%)
CMYKcmyk(27.3%, 0%, 92.4%, 74.1%)
CIE-LABlab(25.37, -16.95, 31.57)
CIE-LCHlch(25.37, 35.84, 118.24°)
OKLaboklab(35.09% -0.0494 0.0688)
OKLCHoklch(35.09% 0.085 125.7)
XYZxyz(3.1946, 4.5357, 0.8507)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304205 #170542
analogous
#423605 #304205 #124205
triadic
#304205 #053042 #420530
tetradic
#304205 #054236 #170542 #420512
square
#304205 #054236 #170542 #420512
split-complementary
#304205 #051242 #360542
monochromatic
#151C02 #151C02 #304205 #597B09 #83B40E

Accessibility & contrast

On white

11.01
#304205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#304205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304205
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304205#FFFFFF#000000##FFFFFF
##3042051.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#443C0B
Tritanopia (blue-blind)
#333E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304205;
/* rgb */ color: rgb(48, 66, 5);
/* oklch */ color: oklch(35.1% 0.085 125.7);
Tailwind
colors: {
  custom: {
    50: '#6b764b',
    500: '#304205',
    950: '#000000',
  },
}
SCSS
$custom: #304205;
$custom-light: #6b764b;
$custom-dark: #000000;
JSON
{
  "hex": "#304205",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 77.705,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3509,
    "c": 0.08473,
    "h": 125.7
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#304205
secondary
#3D2082
accent
#2CFC69
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #304205

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

Preview Lab → · Contrast checker → · Palette generator →

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