#304522#304522

#304522 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.062 H 133.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#304522
RGBrgb(48, 69, 34)
HSLhsl(96, 34%, 20%)
HSVhsv(96, 51%, 27%)
CMYKcmyk(30.4%, 0%, 50.7%, 72.9%)
CIE-LABlab(26.73, -15.73, 18.50)
CIE-LCHlch(26.73, 24.29, 130.38°)
OKLaboklab(36.3% -0.0433 0.0449)
OKLCHoklch(36.3% 0.062 133.9)
XYZxyz(3.6357, 5.0000, 2.2866)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304522 #372245
analogous
#414522 #304522 #224525
triadic
#304522 #223045 #452230
tetradic
#304522 #224145 #372245 #452522
square
#304522 #224145 #372245 #452522
split-complementary
#304522 #252245 #452241
monochromatic
#0E140A #131C0E #304522 #4D6E36 #69974A

Accessibility & contrast

On white

10.50
#304522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#304522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304522
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304522#FFFFFF#000000##FFFFFF
##3045221.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401F
Deuteranopia (green-blind)
#443F24
Tritanopia (blue-blind)
#30433D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304522;
/* rgb */ color: rgb(48, 69, 34);
/* oklch */ color: oklch(36.3% 0.062 133.9);
Tailwind
colors: {
  custom: {
    50: '#69785e',
    500: '#304522',
    950: '#000000',
  },
}
SCSS
$custom: #304522;
$custom-light: #69785e;
$custom-dark: #000000;
JSON
{
  "hex": "#304522",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 34
  },
  "hsl": {
    "h": 96,
    "s": 33.981,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.06238,
    "h": 133.9
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#304522
secondary
#664A79
accent
#5ECA9F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #304522

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

Preview Lab → · Contrast checker → · Palette generator →

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