#958A18#958A18

#958A18 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.125 H 103.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#958A18
RGBrgb(149, 138, 24)
HSLhsl(55, 72%, 34%)
HSVhsv(55, 84%, 58%)
CMYKcmyk(0%, 7.4%, 83.9%, 41.6%)
CIE-LABlab(56.72, -8.08, 56.34)
CIE-LCHlch(56.72, 56.91, 98.16°)
OKLaboklab(62.41% -0.029 0.1213)
OKLCHoklch(62.41% 0.125 103.4)
XYZxyz(21.6488, 24.6334, 4.4784)
Luminance0.2463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A18 #182395
analogous
#954C18 #958A18 #629518
triadic
#958A18 #18958A #8A1895
tetradic
#958A18 #18954C #182395 #951862
square
#958A18 #18954C #182395 #951862
split-complementary
#958A18 #186295 #4C1895
monochromatic
#2C2807 #605910 #958A18 #CABB20 #E1D446

Accessibility & contrast

On white

3.54
#958A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#958A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958A18
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958A18#FFFFFF#000000##000000
##958A181.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9B8A22
Tritanopia (blue-blind)
#A18076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a18;
/* rgb */ color: rgb(149, 138, 24);
/* oklch */ color: oklch(62.4% 0.125 103.4);
Tailwind
colors: {
  custom: {
    50: '#b8ab62',
    500: '#958a18',
    950: '#000000',
  },
}
SCSS
$custom: #958a18;
$custom-light: #b8ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#958a18",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 54.72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62411,
    "c": 0.12467,
    "h": 103.4
  },
  "luminance": 0.24632
}

Semantic roles & 50–950 ramp

primary
#958A18
secondary
#4651C2
accent
#49EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958A18

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

Preview Lab → · Contrast checker → · Palette generator →

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