#304013#304013

#304013 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.071 H 126.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#304013
RGBrgb(48, 64, 19)
HSLhsl(81, 54%, 16%)
HSVhsv(81, 70%, 25%)
CMYKcmyk(25%, 0%, 70.3%, 74.9%)
CIE-LABlab(24.77, -14.80, 24.74)
CIE-LCHlch(24.77, 28.82, 120.89°)
OKLaboklab(34.64% -0.0421 0.057)
OKLCHoklch(34.64% 0.071 126.4)
XYZxyz(3.1699, 4.3421, 1.2871)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304013 #231340
analogous
#403A13 #304013 #1A4013
triadic
#304013 #133040 #401330
tetradic
#304013 #13403A #231340 #40131A
square
#304013 #13403A #231340 #40131A
split-complementary
#304013 #131A40 #3A1340
monochromatic
#121807 #121807 #304013 #536F21 #779E2F

Accessibility & contrast

On white

11.24
#304013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304013
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304013#FFFFFF#000000##FFFFFF
##3040131.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #304013;
/* rgb */ color: rgb(48, 64, 19);
/* oklch */ color: oklch(34.6% 0.071 126.4);
Tailwind
colors: {
  custom: {
    50: '#6a7453',
    500: '#304013',
    950: '#000000',
  },
}
SCSS
$custom: #304013;
$custom-light: #6a7453;
$custom-dark: #000000;
JSON
{
  "hex": "#304013",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 81.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34642,
    "c": 0.07085,
    "h": 126.4
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#304013
secondary
#4E3679
accent
#4ADE7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #304013

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

Preview Lab → · Contrast checker → · Palette generator →

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