#958C18#958C18

#958C18 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.126 H 104.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#958C18
RGBrgb(149, 140, 24)
HSLhsl(56, 72%, 34%)
HSVhsv(56, 84%, 58%)
CMYKcmyk(0%, 6%, 83.9%, 41.6%)
CIE-LABlab(57.28, -9.16, 56.82)
CIE-LCHlch(57.28, 57.55, 99.16°)
OKLaboklab(62.86% -0.032 0.1223)
OKLCHoklch(62.86% 0.126 104.7)
XYZxyz(21.9384, 25.2126, 4.5749)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958C18 #182195
analogous
#954E18 #958C18 #609518
triadic
#958C18 #18958C #8C1895
tetradic
#958C18 #18954E #182195 #951860
square
#958C18 #18954E #182195 #951860
split-complementary
#958C18 #186095 #4E1895
monochromatic
#2C2907 #605A10 #958C18 #CABE20 #E1D646

Accessibility & contrast

On white

3.48
#958C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#958C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958C18
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958C18#FFFFFF#000000##000000
##958C181.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9C8C23
Tritanopia (blue-blind)
#A18277
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #958c18;
/* rgb */ color: rgb(149, 140, 24);
/* oklch */ color: oklch(62.9% 0.126 104.7);
Tailwind
colors: {
  custom: {
    50: '#b8ad62',
    500: '#958c18',
    950: '#000000',
  },
}
SCSS
$custom: #958c18;
$custom-light: #b8ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#958c18",
  "rgb": {
    "r": 149,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 55.68,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62861,
    "c": 0.12641,
    "h": 104.7
  },
  "luminance": 0.25212
}

Semantic roles & 50–950 ramp

primary
#958C18
secondary
#464FC2
accent
#46EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958C18

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

Preview Lab → · Contrast checker → · Palette generator →

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