#958018#958018

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

Color values

HEX#958018
RGBrgb(149, 128, 24)
HSLhsl(50, 72%, 34%)
HSVhsv(50, 84%, 58%)
CMYKcmyk(0%, 14.1%, 83.9%, 41.6%)
CIE-LABlab(53.92, -2.58, 53.94)
CIE-LCHlch(53.92, 54.00, 92.74°)
OKLaboklab(60.19% -0.0135 0.116)
OKLCHoklch(60.19% 0.117 96.7)
XYZxyz(20.2796, 21.8950, 4.0220)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958018 #182D95
analogous
#954218 #958018 #6C9518
triadic
#958018 #189580 #801895
tetradic
#958018 #189542 #182D95 #95186C
square
#958018 #189542 #182D95 #95186C
split-complementary
#958018 #186C95 #421895
monochromatic
#2C2507 #605310 #958018 #CAAD20 #E1C746

Accessibility & contrast

On white

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

On black

5.38
#958018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958018
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958018#FFFFFF#000000##000000
##9580181.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#A2756D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #958018;
/* rgb */ color: rgb(149, 128, 24);
/* oklch */ color: oklch(60.2% 0.117 96.7);
Tailwind
colors: {
  custom: {
    50: '#b8a460',
    500: '#958018',
    950: '#000000',
  },
}
SCSS
$custom: #958018;
$custom-light: #b8a460;
$custom-dark: #000000;
JSON
{
  "hex": "#958018",
  "rgb": {
    "r": 149,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 49.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60188,
    "c": 0.11682,
    "h": 96.7
  },
  "luminance": 0.21894
}

Semantic roles & 50–950 ramp

primary
#958018
secondary
#465BC2
accent
#57EF39
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #958018

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

Preview Lab → · Contrast checker → · Palette generator →

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