#98951D#98951D

#98951D is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.2% C 0.132 H 108.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#98951D
RGBrgb(152, 149, 29)
HSLhsl(59, 68%, 35%)
HSVhsv(59, 81%, 60%)
CMYKcmyk(0%, 2%, 80.9%, 40.4%)
CIE-LABlab(60.12, -12.44, 57.96)
CIE-LCHlch(60.12, 59.28, 102.11°)
OKLaboklab(65.2% -0.0409 0.1256)
OKLCHoklch(65.2% 0.132 108)
XYZxyz(23.9191, 28.2598, 5.3569)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98951D #1D2098
analogous
#98581D #98951D #5D981D
triadic
#98951D #1D9895 #951D98
tetradic
#98951D #1D9858 #1D2098 #981D5D
square
#98951D #1D9858 #1D2098 #981D5D
split-complementary
#98951D #1D5D98 #581D98
monochromatic
#313009 #656313 #98951D #CBC727 #DEDA52

Accessibility & contrast

On white

3.16
#98951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#98951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98951D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98951D#FFFFFF#000000##000000
##98951D1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#A48B7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #98951d;
/* rgb */ color: rgb(152, 149, 29);
/* oklch */ color: oklch(65.2% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#bab365',
    500: '#98951d',
    950: '#000000',
  },
}
SCSS
$custom: #98951d;
$custom-light: #bab365;
$custom-dark: #000000;
JSON
{
  "hex": "#98951d",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 58.537,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65197,
    "c": 0.13208,
    "h": 108
  },
  "luminance": 0.28259
}

Semantic roles & 50–950 ramp

primary
#98951D
secondary
#5053C1
accent
#41EB3D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98951D

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

Preview Lab → · Contrast checker → · Palette generator →

#98951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva