#304022#304022

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

Color values

HEX#304022
RGBrgb(48, 64, 34)
HSLhsl(92, 31%, 19%)
HSVhsv(92, 47%, 25%)
CMYKcmyk(25%, 0%, 46.9%, 74.9%)
CIE-LABlab(24.98, -12.87, 16.29)
CIE-LCHlch(24.98, 20.76, 128.32°)
OKLaboklab(34.88% -0.0353 0.0399)
OKLCHoklch(34.88% 0.053 131.6)
XYZxyz(3.3410, 4.4106, 2.1884)
Luminance0.0441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304022 #322240
analogous
#3F4022 #304022 #224023
triadic
#304022 #223040 #402230
tetradic
#304022 #223F40 #322240 #402322
square
#304022 #223F40 #322240 #402322
split-complementary
#304022 #232240 #40223F
monochromatic
#0F140B #12180D #304022 #4E6837 #6C904C

Accessibility & contrast

On white

11.16
#304022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304022
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304022#FFFFFF#000000##FFFFFF
##3040221.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#403B24
Tritanopia (blue-blind)
#313E39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #304022;
/* rgb */ color: rgb(48, 64, 34);
/* oklch */ color: oklch(34.9% 0.053 131.6);
Tailwind
colors: {
  custom: {
    50: '#69755d',
    500: '#304022',
    950: '#000000',
  },
}
SCSS
$custom: #304022;
$custom-light: #69755d;
$custom-dark: #000000;
JSON
{
  "hex": "#304022",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 34
  },
  "hsl": {
    "h": 92,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.34883,
    "c": 0.05329,
    "h": 131.6
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#304022
secondary
#604B73
accent
#61C797
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #304022

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

Preview Lab → · Contrast checker → · Palette generator →

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