#958918#958918

#958918 is a light, vivid yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.124 H 102.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#958918
RGBrgb(149, 137, 24)
HSLhsl(54, 72%, 34%)
HSVhsv(54, 84%, 58%)
CMYKcmyk(0%, 8.1%, 83.9%, 41.6%)
CIE-LABlab(56.43, -7.54, 56.09)
CIE-LCHlch(56.43, 56.60, 97.65°)
OKLaboklab(62.19% -0.0274 0.1207)
OKLCHoklch(62.19% 0.124 102.8)
XYZxyz(21.5060, 24.3478, 4.4308)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958918 #182495
analogous
#954B18 #958918 #639518
triadic
#958918 #189589 #891895
tetradic
#958918 #18954B #182495 #951863
square
#958918 #18954B #182495 #951863
split-complementary
#958918 #186395 #4B1895
monochromatic
#2C2807 #605910 #958918 #CAB920 #E1D246

Accessibility & contrast

On white

3.58
#958918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#958918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958918
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958918#FFFFFF#000000##000000
##9589181.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#A17F75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #958918;
/* rgb */ color: rgb(149, 137, 24);
/* oklch */ color: oklch(62.2% 0.124 102.8);
Tailwind
colors: {
  custom: {
    50: '#b8ab61',
    500: '#958918',
    950: '#000000',
  },
}
SCSS
$custom: #958918;
$custom-light: #b8ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#958918",
  "rgb": {
    "r": 149,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 54.24,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62187,
    "c": 0.12381,
    "h": 102.8
  },
  "luminance": 0.24347
}

Semantic roles & 50–950 ramp

primary
#958918
secondary
#4652C2
accent
#4AEF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958918

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

Preview Lab → · Contrast checker → · Palette generator →

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