#304513#304513

#304513 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.1% C 0.079 H 129.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#304513
RGBrgb(48, 69, 19)
HSLhsl(85, 57%, 17%)
HSVhsv(85, 72%, 27%)
CMYKcmyk(30.4%, 0%, 72.5%, 72.9%)
CIE-LABlab(26.54, -17.57, 26.65)
CIE-LCHlch(26.54, 31.93, 123.40°)
OKLaboklab(36.07% -0.0497 0.0611)
OKLCHoklch(36.07% 0.079 129.2)
XYZxyz(3.4646, 4.9316, 1.3853)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304513 #281345
analogous
#454113 #304513 #174513
triadic
#304513 #133045 #451330
tetradic
#304513 #134541 #281345 #451317
square
#304513 #134541 #281345 #451317
split-complementary
#304513 #131745 #411345
monochromatic
#111807 #111807 #304513 #517520 #73A52D

Accessibility & contrast

On white

10.57
#304513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#304513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304513
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304513#FFFFFF#000000##FFFFFF
##3045131.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400D
Deuteranopia (green-blind)
#463E17
Tritanopia (blue-blind)
#32423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304513;
/* rgb */ color: rgb(48, 69, 19);
/* oklch */ color: oklch(36.1% 0.079 129.2);
Tailwind
colors: {
  custom: {
    50: '#6a7853',
    500: '#304513',
    950: '#000000',
  },
}
SCSS
$custom: #304513;
$custom-light: #6a7853;
$custom-dark: #000000;
JSON
{
  "hex": "#304513",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 19
  },
  "hsl": {
    "h": 85.2,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.07874,
    "h": 129.2
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#304513
secondary
#54367E
accent
#48E088
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304513

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

Preview Lab → · Contrast checker → · Palette generator →

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