#304014#304014

#304014 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.7% C 0.070 H 126.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#304014
RGBrgb(48, 64, 20)
HSLhsl(82, 52%, 16%)
HSVhsv(82, 69%, 25%)
CMYKcmyk(25%, 0%, 68.8%, 74.9%)
CIE-LABlab(24.78, -14.70, 24.22)
CIE-LCHlch(24.78, 28.33, 121.25°)
OKLaboklab(34.65% -0.0417 0.056)
OKLCHoklch(34.65% 0.07 126.6)
XYZxyz(3.1786, 4.3456, 1.3330)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304014 #241440
analogous
#403A14 #304014 #1A4014
triadic
#304014 #143040 #401430
tetradic
#304014 #14403A #241440 #40141A
square
#304014 #14403A #241440 #40141A
split-complementary
#304014 #141A40 #3A1440
monochromatic
#111707 #111707 #304014 #536F23 #769D31

Accessibility & contrast

On white

11.23
#304014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#304014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304014
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304014#FFFFFF#000000##FFFFFF
##3040141.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0F
Deuteranopia (green-blind)
#413B17
Tritanopia (blue-blind)
#323D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #304014;
/* rgb */ color: rgb(48, 64, 20);
/* oklch */ color: oklch(34.7% 0.070 126.6);
Tailwind
colors: {
  custom: {
    50: '#6a7453',
    500: '#304014',
    950: '#000000',
  },
}
SCSS
$custom: #304014;
$custom-light: #6a7453;
$custom-dark: #000000;
JSON
{
  "hex": "#304014",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 20
  },
  "hsl": {
    "h": 81.818,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.06985,
    "h": 126.6
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#304014
secondary
#4F3878
accent
#4CDC80
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #304014

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

Preview Lab → · Contrast checker → · Palette generator →

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