#305411#305411

#305411 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.103 H 133.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#305411
RGBrgb(48, 84, 17)
HSLhsl(92, 66%, 20%)
HSVhsv(92, 80%, 33%)
CMYKcmyk(42.9%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.83, -25.40, 33.00)
CIE-LCHlch(31.83, 41.65, 127.59°)
OKLaboklab(40.38% -0.0712 0.0741)
OKLCHoklch(40.38% 0.103 133.9)
XYZxyz(4.4903, 7.0093, 1.6465)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305411 #351154
analogous
#525411 #305411 #115414
triadic
#305411 #113054 #541130
tetradic
#305411 #115254 #351154 #541411
square
#305411 #115254 #351154 #541411
split-complementary
#305411 #141154 #541152
monochromatic
#0F1905 #132107 #305411 #4D871B #6ABA26

Accessibility & contrast

On white

8.74
#305411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#305411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305411
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305411#FFFFFF#000000##FFFFFF
##3054111.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#305047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #305411;
/* rgb */ color: rgb(48, 84, 17);
/* oklch */ color: oklch(40.4% 0.103 133.9);
Tailwind
colors: {
  custom: {
    50: '#6c8454',
    500: '#305411',
    950: '#000000',
  },
}
SCSS
$custom: #305411;
$custom-light: #6c8454;
$custom-dark: #000000;
JSON
{
  "hex": "#305411",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 92.239,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.10276,
    "h": 133.9
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#305411
secondary
#64348D
accent
#3FE99A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305411

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

Preview Lab → · Contrast checker → · Palette generator →

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