#958E18#958E18

#958E18 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.128 H 105.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#958E18
RGBrgb(149, 142, 24)
HSLhsl(57, 72%, 34%)
HSVhsv(57, 84%, 58%)
CMYKcmyk(0%, 4.7%, 83.9%, 41.6%)
CIE-LABlab(57.85, -10.24, 57.30)
CIE-LCHlch(57.85, 58.21, 100.13°)
OKLaboklab(63.31% -0.035 0.1234)
OKLCHoklch(63.31% 0.128 105.8)
XYZxyz(22.2333, 25.8024, 4.6732)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958E18 #181F95
analogous
#955018 #958E18 #5E9518
triadic
#958E18 #18958E #8E1895
tetradic
#958E18 #189550 #181F95 #95185E
square
#958E18 #189550 #181F95 #95185E
split-complementary
#958E18 #185E95 #501895
monochromatic
#2C2A07 #605C10 #958E18 #CAC020 #E1D946

Accessibility & contrast

On white

3.41
#958E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#958E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958E18
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958E18#FFFFFF#000000##000000
##958E181.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9E8D23
Tritanopia (blue-blind)
#A18479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958e18;
/* rgb */ color: rgb(149, 142, 24);
/* oklch */ color: oklch(63.3% 0.128 105.8);
Tailwind
colors: {
  custom: {
    50: '#b8ae62',
    500: '#958e18',
    950: '#000000',
  },
}
SCSS
$custom: #958e18;
$custom-light: #b8ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#958e18",
  "rgb": {
    "r": 149,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 56.64,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63313,
    "c": 0.12822,
    "h": 105.8
  },
  "luminance": 0.25802
}

Semantic roles & 50–950 ramp

primary
#958E18
secondary
#464DC2
accent
#43EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958E18

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

Preview Lab → · Contrast checker → · Palette generator →

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