#958218#958218

#958218 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.118 H 98.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#958218
RGBrgb(149, 130, 24)
HSLhsl(51, 72%, 34%)
HSVhsv(51, 84%, 58%)
CMYKcmyk(0%, 12.8%, 83.9%, 41.6%)
CIE-LABlab(54.47, -3.70, 54.41)
CIE-LCHlch(54.47, 54.54, 93.89°)
OKLaboklab(60.63% -0.0167 0.1171)
OKLCHoklch(60.63% 0.118 98.1)
XYZxyz(20.5430, 22.4219, 4.1098)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958218 #182B95
analogous
#954418 #958218 #6A9518
triadic
#958218 #189582 #821895
tetradic
#958218 #189544 #182B95 #95186A
square
#958218 #189544 #182B95 #95186A
split-complementary
#958218 #186A95 #441895
monochromatic
#2C2607 #605410 #958218 #CAB020 #E1CA46

Accessibility & contrast

On white

3.83
#958218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#958218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958218
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958218#FFFFFF#000000##000000
##9582181.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#A1776F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #958218;
/* rgb */ color: rgb(149, 130, 24);
/* oklch */ color: oklch(60.6% 0.118 98.1);
Tailwind
colors: {
  custom: {
    50: '#b8a560',
    500: '#958218',
    950: '#000000',
  },
}
SCSS
$custom: #958218;
$custom-light: #b8a560;
$custom-dark: #000000;
JSON
{
  "hex": "#958218",
  "rgb": {
    "r": 149,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 50.88,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.11826,
    "h": 98.1
  },
  "luminance": 0.22421
}

Semantic roles & 50–950 ramp

primary
#958218
secondary
#4659C2
accent
#55EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #958218

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

Preview Lab → · Contrast checker → · Palette generator →

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