#304016#304016

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

Color values

HEX#304016
RGBrgb(48, 64, 22)
HSLhsl(83, 49%, 17%)
HSVhsv(83, 66%, 25%)
CMYKcmyk(25%, 0%, 65.6%, 74.9%)
CIE-LABlab(24.81, -14.48, 23.16)
CIE-LCHlch(24.81, 27.32, 122.02°)
OKLaboklab(34.68% -0.0409 0.0541)
OKLCHoklch(34.68% 0.068 127.1)
XYZxyz(3.1971, 4.3530, 1.4307)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304016 #261640
analogous
#403B16 #304016 #1B4016
triadic
#304016 #163040 #401630
tetradic
#304016 #16403B #261640 #40161B
square
#304016 #16403B #261640 #40161B
split-complementary
#304016 #161B40 #3B1640
monochromatic
#111708 #111708 #304016 #526E26 #749B35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304016#FFFFFF#000000##FFFFFF
##3040161.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)
#433C12
Deuteranopia (green-blind)
#413B19
Tritanopia (blue-blind)
#323D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #304016;
/* rgb */ color: rgb(48, 64, 22);
/* oklch */ color: oklch(34.7% 0.068 127.1);
Tailwind
colors: {
  custom: {
    50: '#6a7555',
    500: '#304016',
    950: '#000000',
  },
}
SCSS
$custom: #304016;
$custom-light: #6a7555;
$custom-dark: #000000;
JSON
{
  "hex": "#304016",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 22
  },
  "hsl": {
    "h": 82.857,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3468,
    "c": 0.06777,
    "h": 127.1
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#304016
secondary
#523B77
accent
#4FD884
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #304016

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

Preview Lab → · Contrast checker → · Palette generator →

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