#305414#305414

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

Color values

HEX#305414
RGBrgb(48, 84, 20)
HSLhsl(94, 62%, 20%)
HSVhsv(94, 76%, 33%)
CMYKcmyk(42.9%, 0%, 76.2%, 67.1%)
CIE-LABlab(31.85, -25.17, 31.76)
CIE-LCHlch(31.85, 40.52, 128.40°)
OKLaboklab(40.41% -0.0704 0.0719)
OKLCHoklch(40.41% 0.101 134.4)
XYZxyz(4.5154, 7.0193, 1.7786)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305414 #381454
analogous
#505414 #305414 #145418
triadic
#305414 #143054 #541430
tetradic
#305414 #145054 #381454 #541814
square
#305414 #145054 #381454 #541814
split-complementary
#305414 #181454 #541450
monochromatic
#0E1906 #142308 #305414 #4C8520 #68B72C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305414#FFFFFF#000000##FFFFFF
##3054141.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)
#574D0A
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#305047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #305414;
/* rgb */ color: rgb(48, 84, 20);
/* oklch */ color: oklch(40.4% 0.101 134.4);
Tailwind
colors: {
  custom: {
    50: '#6c8456',
    500: '#305414',
    950: '#000000',
  },
}
SCSS
$custom: #305414;
$custom-light: #6c8456;
$custom-dark: #000000;
JSON
{
  "hex": "#305414",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 93.75,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.10062,
    "h": 134.4
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#305414
secondary
#67388C
accent
#43E59E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305414

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

Preview Lab → · Contrast checker → · Palette generator →

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