#958D18#958D18

#958D18 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.127 H 105.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#958D18
RGBrgb(149, 141, 24)
HSLhsl(56, 72%, 34%)
HSVhsv(56, 84%, 58%)
CMYKcmyk(0%, 5.4%, 83.9%, 41.6%)
CIE-LABlab(57.57, -9.70, 57.06)
CIE-LCHlch(57.57, 57.88, 99.65°)
OKLaboklab(63.09% -0.0335 0.1228)
OKLCHoklch(63.09% 0.127 105.3)
XYZxyz(22.0852, 25.5062, 4.6238)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D18 #182095
analogous
#954F18 #958D18 #5F9518
triadic
#958D18 #18958D #8D1895
tetradic
#958D18 #18954F #182095 #95185F
square
#958D18 #18954F #182095 #95185F
split-complementary
#958D18 #185F95 #4F1895
monochromatic
#2C2907 #605B10 #958D18 #CABF20 #E1D746

Accessibility & contrast

On white

3.44
#958D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#958D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D18
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D18#FFFFFF#000000##000000
##958D181.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#A18378
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d18;
/* rgb */ color: rgb(149, 141, 24);
/* oklch */ color: oklch(63.1% 0.127 105.3);
Tailwind
colors: {
  custom: {
    50: '#b8ae62',
    500: '#958d18',
    950: '#000000',
  },
}
SCSS
$custom: #958d18;
$custom-light: #b8ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#958d18",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 56.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63087,
    "c": 0.12731,
    "h": 105.3
  },
  "luminance": 0.25505
}

Semantic roles & 50–950 ramp

primary
#958D18
secondary
#464EC2
accent
#44EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958D18

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

Preview Lab → · Contrast checker → · Palette generator →

#958D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva