#304020#304020

#304020 is a dark, muted yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.056 H 130.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#304020
RGBrgb(48, 64, 32)
HSLhsl(90, 33%, 19%)
HSVhsv(90, 50%, 25%)
CMYKcmyk(25%, 0%, 50%, 74.9%)
CIE-LABlab(24.95, -13.18, 17.48)
CIE-LCHlch(24.95, 21.89, 127.02°)
OKLaboklab(34.84% -0.0363 0.0425)
OKLCHoklch(34.84% 0.056 130.5)
XYZxyz(3.3130, 4.3994, 2.0408)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304020 #302040
analogous
#404020 #304020 #204020
triadic
#304020 #203040 #402030
tetradic
#304020 #204040 #302040 #402020
square
#304020 #204040 #302040 #402020
split-complementary
#304020 #202040 #402040
monochromatic
#0F140A #11170C #304020 #4F6934 #6D9249

Accessibility & contrast

On white

11.17
#304020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304020
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304020#FFFFFF#000000##FFFFFF
##3040201.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#403B22
Tritanopia (blue-blind)
#313E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #304020;
/* rgb */ color: rgb(48, 64, 32);
/* oklch */ color: oklch(34.8% 0.056 130.5);
Tailwind
colors: {
  custom: {
    50: '#69755c',
    500: '#304020',
    950: '#000000',
  },
}
SCSS
$custom: #304020;
$custom-light: #69755c;
$custom-dark: #000000;
JSON
{
  "hex": "#304020",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34844,
    "c": 0.0559,
    "h": 130.5
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#304020
secondary
#5E4874
accent
#5EC994
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #304020

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

Preview Lab → · Contrast checker → · Palette generator →

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