#304024#304024

#304024 is a dark, muted yellow-green. Relative luminance 0.044; OKLCH L 34.9% C 0.051 H 132.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#304024
RGBrgb(48, 64, 36)
HSLhsl(94, 28%, 20%)
HSVhsv(94, 44%, 25%)
CMYKcmyk(25%, 0%, 43.8%, 74.9%)
CIE-LABlab(25.02, -12.55, 15.08)
CIE-LCHlch(25.02, 19.62, 129.75°)
OKLaboklab(34.92% -0.0343 0.0372)
OKLCHoklch(34.92% 0.051 132.7)
XYZxyz(3.3707, 4.4225, 2.3448)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304024 #342440
analogous
#3E4024 #304024 #244026
triadic
#304024 #243040 #402430
tetradic
#304024 #243E40 #342440 #402624
square
#304024 #243E40 #342440 #402624
split-complementary
#304024 #262440 #40243E
monochromatic
#0F140B #13190E #304024 #4D673A #6B8E50

Accessibility & contrast

On white

11.14
#304024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#304024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304024
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304024#FFFFFF#000000##FFFFFF
##3040241.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C22
Deuteranopia (green-blind)
#403B26
Tritanopia (blue-blind)
#303E39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #304024;
/* rgb */ color: rgb(48, 64, 36);
/* oklch */ color: oklch(34.9% 0.051 132.7);
Tailwind
colors: {
  custom: {
    50: '#69755f',
    500: '#304024',
    950: '#000000',
  },
}
SCSS
$custom: #304024;
$custom-light: #69755f;
$custom-dark: #000000;
JSON
{
  "hex": "#304024",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 36
  },
  "hsl": {
    "h": 94.286,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34925,
    "c": 0.05063,
    "h": 132.7
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#304024
secondary
#634D73
accent
#63C49B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #304024

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

Preview Lab → · Contrast checker → · Palette generator →

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