#305110#305110

#305110 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.5% C 0.099 H 133.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#305110
RGBrgb(48, 81, 16)
HSLhsl(90, 67%, 19%)
HSVhsv(90, 80%, 32%)
CMYKcmyk(40.7%, 0%, 80.2%, 68.2%)
CIE-LABlab(30.76, -24.02, 32.36)
CIE-LCHlch(30.76, 40.30, 126.59°)
OKLaboklab(39.5% -0.0676 0.0725)
OKLCHoklch(39.5% 0.099 133)
XYZxyz(4.2548, 6.5505, 1.5303)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305110 #311051
analogous
#515110 #305110 #105111
triadic
#305110 #103051 #511030
tetradic
#305110 #105151 #311051 #511110
square
#305110 #105151 #311051 #511110
split-complementary
#305110 #111051 #511051
monochromatic
#0F1A05 #121E06 #305110 #4E841A #6DB724

Accessibility & contrast

On white

9.09
#305110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#305110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305110
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305110#FFFFFF#000000##FFFFFF
##3051101.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A05
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#304D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305110;
/* rgb */ color: rgb(48, 81, 16);
/* oklch */ color: oklch(39.5% 0.099 133.0);
Tailwind
colors: {
  custom: {
    50: '#6c8253',
    500: '#305110',
    950: '#000000',
  },
}
SCSS
$custom: #305110;
$custom-light: #6c8253;
$custom-dark: #000000;
JSON
{
  "hex": "#305110",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 90.462,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.09914,
    "h": 133
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#305110
secondary
#5F328B
accent
#3EEA95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305110

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

Preview Lab → · Contrast checker → · Palette generator →

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