#958020#958020

#958020 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.2% C 0.113 H 96.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#958020
RGBrgb(149, 128, 32)
HSLhsl(49, 65%, 35%)
HSVhsv(49, 79%, 58%)
CMYKcmyk(0%, 14.1%, 78.5%, 41.6%)
CIE-LABlab(53.96, -2.29, 51.33)
CIE-LCHlch(53.96, 51.38, 92.56°)
OKLaboklab(60.23% -0.0119 0.1121)
OKLCHoklch(60.23% 0.113 96.1)
XYZxyz(20.3754, 21.9333, 4.5266)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958020 #203595
analogous
#954620 #958020 #6F9520
triadic
#958020 #209580 #802095
tetradic
#958020 #209546 #203595 #95206F
square
#958020 #209546 #203595 #95206F
split-complementary
#958020 #206F95 #462095
monochromatic
#30290A #635515 #958020 #C7AB2B #DAC355

Accessibility & contrast

On white

3.90
#958020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#958020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958020
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958020#FFFFFF#000000##000000
##9580201.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#A1756E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #958020;
/* rgb */ color: rgb(149, 128, 32);
/* oklch */ color: oklch(60.2% 0.113 96.1);
Tailwind
colors: {
  custom: {
    50: '#b8a464',
    500: '#958020',
    950: '#000000',
  },
}
SCSS
$custom: #958020;
$custom-light: #b8a464;
$custom-dark: #000000;
JSON
{
  "hex": "#958020",
  "rgb": {
    "r": 149,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 49.231,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60233,
    "c": 0.11275,
    "h": 96.1
  },
  "luminance": 0.21932
}

Semantic roles & 50–950 ramp

primary
#958020
secondary
#5366BE
accent
#5EE840
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958020

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

Preview Lab → · Contrast checker → · Palette generator →

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