#958818#958818

#958818 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.123 H 102.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#958818
RGBrgb(149, 136, 24)
HSLhsl(54, 72%, 34%)
HSVhsv(54, 84%, 58%)
CMYKcmyk(0%, 8.7%, 83.9%, 41.6%)
CIE-LABlab(56.15, -6.99, 55.85)
CIE-LCHlch(56.15, 56.29, 97.14°)
OKLaboklab(61.96% -0.0259 0.1202)
OKLCHoklch(61.96% 0.123 102.2)
XYZxyz(21.3645, 24.0648, 4.3836)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958818 #182595
analogous
#954A18 #958818 #649518
triadic
#958818 #189588 #881895
tetradic
#958818 #18954A #182595 #951864
square
#958818 #18954A #182595 #951864
split-complementary
#958818 #186495 #4A1895
monochromatic
#2C2807 #605810 #958818 #CAB820 #E1D146

Accessibility & contrast

On white

3.61
#958818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#958818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958818
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958818#FFFFFF#000000##000000
##9588181.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#A17E74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #958818;
/* rgb */ color: rgb(149, 136, 24);
/* oklch */ color: oklch(62.0% 0.123 102.2);
Tailwind
colors: {
  custom: {
    50: '#b8aa61',
    500: '#958818',
    950: '#000000',
  },
}
SCSS
$custom: #958818;
$custom-light: #b8aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#958818",
  "rgb": {
    "r": 149,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 53.76,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61963,
    "c": 0.12297,
    "h": 102.2
  },
  "luminance": 0.24064
}

Semantic roles & 50–950 ramp

primary
#958818
secondary
#4653C2
accent
#4CEF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #958818

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

Preview Lab → · Contrast checker → · Palette generator →

#958818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva