#958B18#958B18

#958B18 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.126 H 104.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#958B18
RGBrgb(149, 139, 24)
HSLhsl(55, 72%, 34%)
HSVhsv(55, 84%, 58%)
CMYKcmyk(0%, 6.7%, 83.9%, 41.6%)
CIE-LABlab(57.00, -8.62, 56.58)
CIE-LCHlch(57.00, 57.23, 98.67°)
OKLaboklab(62.64% -0.0305 0.1218)
OKLCHoklch(62.64% 0.126 104.1)
XYZxyz(21.7929, 24.9217, 4.5264)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958B18 #182295
analogous
#954D18 #958B18 #619518
triadic
#958B18 #18958B #8B1895
tetradic
#958B18 #18954D #182295 #951861
square
#958B18 #18954D #182295 #951861
split-complementary
#958B18 #186195 #4D1895
monochromatic
#2C2907 #605A10 #958B18 #CABC20 #E1D546

Accessibility & contrast

On white

3.51
#958B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#958B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958B18
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958B18#FFFFFF#000000##000000
##958B181.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9C8B22
Tritanopia (blue-blind)
#A18176
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #958b18;
/* rgb */ color: rgb(149, 139, 24);
/* oklch */ color: oklch(62.6% 0.126 104.1);
Tailwind
colors: {
  custom: {
    50: '#b8ac62',
    500: '#958b18',
    950: '#000000',
  },
}
SCSS
$custom: #958b18;
$custom-light: #b8ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#958b18",
  "rgb": {
    "r": 149,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 55.2,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62636,
    "c": 0.12554,
    "h": 104.1
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#958B18
secondary
#4650C2
accent
#47EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958B18

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

Preview Lab → · Contrast checker → · Palette generator →

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