#304713#304713

#304713 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.082 H 130.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#304713
RGBrgb(48, 71, 19)
HSLhsl(87, 58%, 18%)
HSVhsv(87, 73%, 28%)
CMYKcmyk(32.4%, 0%, 73.2%, 72.2%)
CIE-LABlab(27.25, -18.65, 27.41)
CIE-LCHlch(27.25, 33.15, 124.24°)
OKLaboklab(36.65% -0.0527 0.0626)
OKLCHoklch(36.65% 0.082 130.1)
XYZxyz(3.5897, 5.1818, 1.4270)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304713 #2A1347
analogous
#474413 #304713 #164713
triadic
#304713 #133047 #471330
tetradic
#304713 #134744 #2A1347 #471316
square
#304713 #134744 #2A1347 #471316
split-complementary
#304713 #131647 #441347
monochromatic
#101806 #101806 #304713 #517720 #71A82D

Accessibility & contrast

On white

10.31
#304713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#304713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304713
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304713#FFFFFF#000000##FFFFFF
##3047131.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B410C
Deuteranopia (green-blind)
#474017
Tritanopia (blue-blind)
#31443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304713;
/* rgb */ color: rgb(48, 71, 19);
/* oklch */ color: oklch(36.6% 0.082 130.1);
Tailwind
colors: {
  custom: {
    50: '#6a7a54',
    500: '#304713',
    950: '#000000',
  },
}
SCSS
$custom: #304713;
$custom-light: #6a7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#304713",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 19
  },
  "hsl": {
    "h": 86.538,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36648,
    "c": 0.08185,
    "h": 130.1
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#304713
secondary
#573680
accent
#47E18B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304713

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

Preview Lab → · Contrast checker → · Palette generator →

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