#304418#304418

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

Color values

HEX#304418
RGBrgb(48, 68, 24)
HSLhsl(87, 48%, 18%)
HSVhsv(87, 65%, 27%)
CMYKcmyk(29.4%, 0%, 64.7%, 73.3%)
CIE-LABlab(26.24, -16.51, 23.70)
CIE-LCHlch(26.24, 28.88, 124.86°)
OKLaboklab(35.85% -0.0463 0.0554)
OKLCHoklch(35.85% 0.072 129.9)
XYZxyz(3.4509, 4.8285, 1.6142)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304418 #2C1844
analogous
#444218 #304418 #1A4418
triadic
#304418 #183044 #441830
tetradic
#304418 #184442 #2C1844 #44181A
square
#304418 #184442 #2C1844 #44181A
split-complementary
#304418 #181A44 #421844
monochromatic
#101708 #101708 #304418 #507128 #709E38

Accessibility & contrast

On white

10.68
#304418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#304418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304418
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304418#FFFFFF#000000##FFFFFF
##3044181.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F13
Deuteranopia (green-blind)
#443E1B
Tritanopia (blue-blind)
#31413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #304418;
/* rgb */ color: rgb(48, 68, 24);
/* oklch */ color: oklch(35.8% 0.072 129.9);
Tailwind
colors: {
  custom: {
    50: '#6a7856',
    500: '#304418',
    950: '#000000',
  },
}
SCSS
$custom: #304418;
$custom-light: #6a7856;
$custom-dark: #000000;
JSON
{
  "hex": "#304418",
  "rgb": {
    "r": 48,
    "g": 68,
    "b": 24
  },
  "hsl": {
    "h": 87.273,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.35849,
    "c": 0.07222,
    "h": 129.9
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#304418
secondary
#593D7B
accent
#50D78E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #304418

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

Preview Lab → · Contrast checker → · Palette generator →

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