#305214#305214

#305214 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.098 H 133.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#305214
RGBrgb(48, 82, 20)
HSLhsl(93, 61%, 20%)
HSVhsv(93, 76%, 32%)
CMYKcmyk(41.5%, 0%, 75.6%, 67.8%)
CIE-LABlab(31.15, -24.19, 31.03)
CIE-LCHlch(31.15, 39.35, 127.94°)
OKLaboklab(39.83% -0.0677 0.0704)
OKLCHoklch(39.83% 0.098 133.9)
XYZxyz(4.3624, 6.7133, 1.7276)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305214 #361452
analogous
#4F5214 #305214 #145217
triadic
#305214 #143052 #521430
tetradic
#305214 #144F52 #361452 #521714
square
#305214 #144F52 #361452 #521714
split-complementary
#305214 #171452 #52144F
monochromatic
#0E1906 #132108 #305214 #4D8320 #6AB42C

Accessibility & contrast

On white

8.96
#305214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#305214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305214
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305214#FFFFFF#000000##FFFFFF
##3052141.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0A
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#304F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #305214;
/* rgb */ color: rgb(48, 82, 20);
/* oklch */ color: oklch(39.8% 0.098 133.9);
Tailwind
colors: {
  custom: {
    50: '#6c8356',
    500: '#305214',
    950: '#000000',
  },
}
SCSS
$custom: #305214;
$custom-light: #6c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#305214",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 92.903,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.09768,
    "h": 133.9
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#305214
secondary
#65388A
accent
#44E49C
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305214

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

Preview Lab → · Contrast checker → · Palette generator →

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