#305314#305314

#305314 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.099 H 134.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#305314
RGBrgb(48, 83, 20)
HSLhsl(93, 61%, 20%)
HSVhsv(93, 76%, 33%)
CMYKcmyk(42.2%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.50, -24.68, 31.39)
CIE-LCHlch(31.50, 39.93, 128.17°)
OKLaboklab(40.12% -0.069 0.0712)
OKLCHoklch(40.12% 0.099 134.1)
XYZxyz(4.4384, 6.8652, 1.7529)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305314 #371453
analogous
#505314 #305314 #145317
triadic
#305314 #143053 #531430
tetradic
#305314 #145053 #371453 #531714
square
#305314 #145053 #371453 #531714
split-complementary
#305314 #171453 #531450
monochromatic
#0E1906 #132208 #305314 #4D8420 #69B62C

Accessibility & contrast

On white

8.85
#305314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#305314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305314
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305314#FFFFFF#000000##FFFFFF
##3053141.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0A
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#305046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #305314;
/* rgb */ color: rgb(48, 83, 20);
/* oklch */ color: oklch(40.1% 0.099 134.1);
Tailwind
colors: {
  custom: {
    50: '#6c8356',
    500: '#305314',
    950: '#000000',
  },
}
SCSS
$custom: #305314;
$custom-light: #6c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#305314",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 93.333,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40117,
    "c": 0.09915,
    "h": 134.1
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#305314
secondary
#66388B
accent
#44E49D
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305314

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

Preview Lab → · Contrast checker → · Palette generator →

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