#304415#304415

#304415 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.075 H 129.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#304415
RGBrgb(48, 68, 21)
HSLhsl(86, 53%, 17%)
HSVhsv(86, 69%, 27%)
CMYKcmyk(29.4%, 0%, 69.1%, 73.3%)
CIE-LABlab(26.21, -16.83, 25.27)
CIE-LCHlch(26.21, 30.36, 123.67°)
OKLaboklab(35.81% -0.0475 0.0584)
OKLCHoklch(35.81% 0.075 129.1)
XYZxyz(3.4214, 4.8167, 1.4588)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304415 #291544
analogous
#444115 #304415 #184415
triadic
#304415 #153044 #441530
tetradic
#304415 #154441 #291544 #441518
square
#304415 #154441 #291544 #441518
split-complementary
#304415 #151844 #411544
monochromatic
#111707 #111707 #304415 #517323 #72A232

Accessibility & contrast

On white

10.70
#304415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#304415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304415
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304415#FFFFFF#000000##FFFFFF
##3044151.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F10
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#32413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #304415;
/* rgb */ color: rgb(48, 68, 21);
/* oklch */ color: oklch(35.8% 0.075 129.1);
Tailwind
colors: {
  custom: {
    50: '#6a7855',
    500: '#304415',
    950: '#000000',
  },
}
SCSS
$custom: #304415;
$custom-light: #6a7855;
$custom-dark: #000000;
JSON
{
  "hex": "#304415",
  "rgb": {
    "r": 48,
    "g": 68,
    "b": 21
  },
  "hsl": {
    "h": 85.532,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3581,
    "c": 0.07527,
    "h": 129.1
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#304415
secondary
#55397C
accent
#4CDC89
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #304415

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

Preview Lab → · Contrast checker → · Palette generator →

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