#304105#304105

#304105 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.083 H 125.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#304105
RGBrgb(48, 65, 5)
HSLhsl(77, 86%, 14%)
HSVhsv(77, 92%, 25%)
CMYKcmyk(26.2%, 0%, 92.3%, 74.5%)
CIE-LABlab(25.01, -16.41, 31.24)
CIE-LCHlch(25.01, 35.28, 117.71°)
OKLaboklab(34.8% -0.0479 0.0682)
OKLCHoklch(34.8% 0.083 125.1)
XYZxyz(3.1366, 4.4199, 0.8314)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304105 #160541
analogous
#413405 #304105 #124105
triadic
#304105 #053041 #410530
tetradic
#304105 #054134 #160541 #410512
square
#304105 #054134 #160541 #410512
split-complementary
#304105 #051241 #340541
monochromatic
#151C02 #151C02 #304105 #5A7A09 #84B30E

Accessibility & contrast

On white

11.15
#304105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#304105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304105
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304105#FFFFFF#000000##FFFFFF
##3041051.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#433B0B
Tritanopia (blue-blind)
#333D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #304105;
/* rgb */ color: rgb(48, 65, 5);
/* oklch */ color: oklch(34.8% 0.083 125.1);
Tailwind
colors: {
  custom: {
    50: '#6b754b',
    500: '#304105',
    950: '#000000',
  },
}
SCSS
$custom: #304105;
$custom-light: #6b754b;
$custom-dark: #000000;
JSON
{
  "hex": "#304105",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 77,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34802,
    "c": 0.08333,
    "h": 125.1
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#304105
secondary
#3C2081
accent
#2CFC67
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #304105

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

Preview Lab → · Contrast checker → · Palette generator →

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