#958418#958418

#958418 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.1% C 0.120 H 99.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#958418
RGBrgb(149, 132, 24)
HSLhsl(52, 72%, 34%)
HSVhsv(52, 84%, 58%)
CMYKcmyk(0%, 11.4%, 83.9%, 41.6%)
CIE-LABlab(55.03, -4.80, 54.89)
CIE-LCHlch(55.03, 55.10, 95.00°)
OKLaboklab(61.07% -0.0198 0.1181)
OKLCHoklch(61.07% 0.12 99.5)
XYZxyz(20.8116, 22.9591, 4.1993)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958418 #182995
analogous
#954618 #958418 #689518
triadic
#958418 #189584 #841895
tetradic
#958418 #189546 #182995 #951868
square
#958418 #189546 #182995 #951868
split-complementary
#958418 #186895 #461895
monochromatic
#2C2707 #605510 #958418 #CAB320 #E1CC46

Accessibility & contrast

On white

3.76
#958418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#958418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958418
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958418#FFFFFF#000000##000000
##9584181.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#A17971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #958418;
/* rgb */ color: rgb(149, 132, 24);
/* oklch */ color: oklch(61.1% 0.120 99.5);
Tailwind
colors: {
  custom: {
    50: '#b8a761',
    500: '#958418',
    950: '#000000',
  },
}
SCSS
$custom: #958418;
$custom-light: #b8a761;
$custom-dark: #000000;
JSON
{
  "hex": "#958418",
  "rgb": {
    "r": 149,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 51.84,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.11976,
    "h": 99.5
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

primary
#958418
secondary
#4657C2
accent
#52EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #958418

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

Preview Lab → · Contrast checker → · Palette generator →

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