#304109#304109

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

Color values

HEX#304109
RGBrgb(48, 65, 9)
HSLhsl(78, 76%, 15%)
HSVhsv(78, 86%, 25%)
CMYKcmyk(26.2%, 0%, 86.2%, 74.5%)
CIE-LABlab(25.04, -16.15, 29.63)
CIE-LCHlch(25.04, 33.75, 118.59°)
OKLaboklab(34.83% -0.0468 0.0655)
OKLCHoklch(34.83% 0.081 125.5)
XYZxyz(3.1586, 4.4287, 0.9468)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304109 #1A0941
analogous
#413609 #304109 #144109
triadic
#304109 #093041 #410930
tetradic
#304109 #094136 #1A0941 #410914
square
#304109 #094136 #1A0941 #410914
split-complementary
#304109 #091441 #360941
monochromatic
#141B04 #141B04 #304109 #587710 #7FAD18

Accessibility & contrast

On white

11.14
#304109 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#304109 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304109
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304109#FFFFFF#000000##FFFFFF
##3041091.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #304109;
/* rgb */ color: rgb(48, 65, 9);
/* oklch */ color: oklch(34.8% 0.081 125.5);
Tailwind
colors: {
  custom: {
    50: '#6b754d',
    500: '#304109',
    950: '#000000',
  },
}
SCSS
$custom: #304109;
$custom-light: #6b754d;
$custom-dark: #000000;
JSON
{
  "hex": "#304109",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 9
  },
  "hsl": {
    "h": 78.214,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34832,
    "c": 0.08054,
    "h": 125.5
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#304109
secondary
#42277F
accent
#36F26F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #304109

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

Preview Lab → · Contrast checker → · Palette generator →

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