#304110#304110

#304110 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.9% C 0.075 H 126.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#304110
RGBrgb(48, 65, 16)
HSLhsl(81, 60%, 16%)
HSVhsv(81, 75%, 25%)
CMYKcmyk(26.2%, 0%, 75.4%, 74.5%)
CIE-LABlab(25.10, -15.64, 26.60)
CIE-LCHlch(25.10, 30.86, 120.45°)
OKLaboklab(34.89% -0.0447 0.0605)
OKLCHoklch(34.89% 0.075 126.5)
XYZxyz(3.2028, 4.4463, 1.1796)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304110 #211041
analogous
#413910 #304110 #174110
triadic
#304110 #103041 #411030
tetradic
#304110 #104139 #211041 #411017
square
#304110 #104139 #211041 #411017
split-complementary
#304110 #101741 #391041
monochromatic
#121906 #121906 #304110 #54721C #79A328

Accessibility & contrast

On white

11.12
#304110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304110
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304110#FFFFFF#000000##FFFFFF
##3041101.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C09
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#323E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304110;
/* rgb */ color: rgb(48, 65, 16);
/* oklch */ color: oklch(34.9% 0.075 126.5);
Tailwind
colors: {
  custom: {
    50: '#6a7551',
    500: '#304110',
    950: '#000000',
  },
}
SCSS
$custom: #304110;
$custom-light: #6a7551;
$custom-dark: #000000;
JSON
{
  "hex": "#304110",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 16
  },
  "hsl": {
    "h": 80.816,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34894,
    "c": 0.0752,
    "h": 126.5
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#304110
secondary
#4B327B
accent
#44E47B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #304110

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

Preview Lab → · Contrast checker → · Palette generator →

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