#958118#958118

#958118 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.118 H 97.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#958118
RGBrgb(149, 129, 24)
HSLhsl(50, 72%, 34%)
HSVhsv(50, 84%, 58%)
CMYKcmyk(0%, 13.4%, 83.9%, 41.6%)
CIE-LABlab(54.19, -3.14, 54.17)
CIE-LCHlch(54.19, 54.27, 93.32°)
OKLaboklab(60.41% -0.0151 0.1166)
OKLCHoklch(60.41% 0.118 97.4)
XYZxyz(20.4107, 22.1571, 4.0657)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958118 #182C95
analogous
#954318 #958118 #6B9518
triadic
#958118 #189581 #811895
tetradic
#958118 #189543 #182C95 #95186B
square
#958118 #189543 #182C95 #95186B
split-complementary
#958118 #186B95 #431895
monochromatic
#2C2607 #605310 #958118 #CAAF20 #E1C846

Accessibility & contrast

On white

3.87
#958118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#958118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958118
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958118#FFFFFF#000000##000000
##9581181.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#948420
Tritanopia (blue-blind)
#A2766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #958118;
/* rgb */ color: rgb(149, 129, 24);
/* oklch */ color: oklch(60.4% 0.118 97.4);
Tailwind
colors: {
  custom: {
    50: '#b8a560',
    500: '#958118',
    950: '#000000',
  },
}
SCSS
$custom: #958118;
$custom-light: #b8a560;
$custom-dark: #000000;
JSON
{
  "hex": "#958118",
  "rgb": {
    "r": 149,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 50.4,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.11752,
    "h": 97.4
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#958118
secondary
#465AC2
accent
#56EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #958118

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

Preview Lab → · Contrast checker → · Palette generator →

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