#304711#304711

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

Color values

HEX#304711
RGBrgb(48, 71, 17)
HSLhsl(86, 61%, 17%)
HSVhsv(86, 76%, 28%)
CMYKcmyk(32.4%, 0%, 76.1%, 72.2%)
CIE-LABlab(27.23, -18.83, 28.35)
CIE-LCHlch(27.23, 34.03, 123.59°)
OKLaboklab(36.63% -0.0534 0.0643)
OKLCHoklch(36.63% 0.084 129.7)
XYZxyz(3.5733, 5.1752, 1.3409)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304711 #281147
analogous
#474311 #304711 #154711
triadic
#304711 #113047 #471130
tetradic
#304711 #114743 #281147 #471115
square
#304711 #114743 #281147 #471115
split-complementary
#304711 #111547 #431147
monochromatic
#111906 #111906 #304711 #51781D #73AA29

Accessibility & contrast

On white

10.32
#304711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304711
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304711#FFFFFF#000000##FFFFFF
##3047111.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #304711;
/* rgb */ color: rgb(48, 71, 17);
/* oklch */ color: oklch(36.6% 0.084 129.7);
Tailwind
colors: {
  custom: {
    50: '#6b7a52',
    500: '#304711',
    950: '#000000',
  },
}
SCSS
$custom: #304711;
$custom-light: #6b7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#304711",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 17
  },
  "hsl": {
    "h": 85.556,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36627,
    "c": 0.08356,
    "h": 129.7
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#304711
secondary
#543381
accent
#43E488
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304711

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

Preview Lab → · Contrast checker → · Palette generator →

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