#959118#959118

#959118 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.0% C 0.131 H 107.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#959118
RGBrgb(149, 145, 24)
HSLhsl(58, 72%, 34%)
HSVhsv(58, 84%, 58%)
CMYKcmyk(0%, 2.7%, 83.9%, 41.6%)
CIE-LABlab(58.70, -11.84, 58.03)
CIE-LCHlch(58.70, 59.22, 101.53°)
OKLaboklab(63.99% -0.0394 0.1249)
OKLCHoklch(63.99% 0.131 107.5)
XYZxyz(22.6857, 26.7071, 4.8240)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959118 #181C95
analogous
#955318 #959118 #5B9518
triadic
#959118 #189591 #911895
tetradic
#959118 #189553 #181C95 #95185B
square
#959118 #189553 #181C95 #95185B
split-complementary
#959118 #185B95 #531895
monochromatic
#2C2A07 #605E10 #959118 #CAC420 #E1DC46

Accessibility & contrast

On white

3.31
#959118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#959118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959118
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959118#FFFFFF#000000##000000
##9591181.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A08F24
Tritanopia (blue-blind)
#A1877C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #959118;
/* rgb */ color: rgb(149, 145, 24);
/* oklch */ color: oklch(64.0% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#b8b063',
    500: '#959118',
    950: '#000000',
  },
}
SCSS
$custom: #959118;
$custom-light: #b8b063;
$custom-dark: #000000;
JSON
{
  "hex": "#959118",
  "rgb": {
    "r": 149,
    "g": 145,
    "b": 24
  },
  "hsl": {
    "h": 58.08,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63993,
    "c": 0.13101,
    "h": 107.5
  },
  "luminance": 0.26706
}

Semantic roles & 50–950 ramp

primary
#959118
secondary
#464AC2
accent
#3FEF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #959118

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

Preview Lab → · Contrast checker → · Palette generator →

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