#305714#305714

#305714 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.105 H 135.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#305714
RGBrgb(48, 87, 20)
HSLhsl(95, 63%, 21%)
HSVhsv(95, 77%, 34%)
CMYKcmyk(44.8%, 0%, 77%, 65.9%)
CIE-LABlab(32.91, -26.60, 32.84)
CIE-LCHlch(32.91, 42.26, 129.01°)
OKLaboklab(41.27% -0.0742 0.0742)
OKLCHoklch(41.27% 0.105 135)
XYZxyz(4.7533, 7.4950, 1.8579)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305714 #3B1457
analogous
#515714 #305714 #145719
triadic
#305714 #143057 #571430
tetradic
#305714 #145157 #3B1457 #571914
square
#305714 #145157 #3B1457 #571914
split-complementary
#305714 #191457 #571451
monochromatic
#0E1906 #152509 #305714 #4B891F #67BB2B

Accessibility & contrast

On white

8.40
#305714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#305714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305714
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305714#FFFFFF#000000##FFFFFF
##3057141.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F09
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#2F534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #305714;
/* rgb */ color: rgb(48, 87, 20);
/* oklch */ color: oklch(41.3% 0.105 135.0);
Tailwind
colors: {
  custom: {
    50: '#6c8756',
    500: '#305714',
    950: '#000000',
  },
}
SCSS
$custom: #305714;
$custom-light: #6c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#305714",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 94.925,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.10496,
    "h": 135
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#305714
secondary
#6B388F
accent
#42E6A1
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305714

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

Preview Lab → · Contrast checker → · Palette generator →

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