#98951C#98951C

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

Color values

HEX#98951C
RGBrgb(152, 149, 28)
HSLhsl(59, 69%, 35%)
HSVhsv(59, 82%, 60%)
CMYKcmyk(0%, 2%, 81.6%, 40.4%)
CIE-LABlab(60.12, -12.48, 58.25)
CIE-LCHlch(60.12, 59.57, 102.09°)
OKLaboklab(65.19% -0.0411 0.126)
OKLCHoklch(65.19% 0.133 108.1)
XYZxyz(23.9069, 28.2550, 5.2928)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98951C #1C1F98
analogous
#98571C #98951C #5D981C
triadic
#98951C #1C9895 #951C98
tetradic
#98951C #1C9857 #1C1F98 #981C5D
square
#98951C #1C9857 #1C1F98 #981C5D
split-complementary
#98951C #1C5D98 #571C98
monochromatic
#313009 #646212 #98951C #CCC826 #DFDB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98951C#FFFFFF#000000##000000
##98951C1.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)
#A49327
Tritanopia (blue-blind)
#A48B7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #98951c;
/* rgb */ color: rgb(152, 149, 28);
/* oklch */ color: oklch(65.2% 0.133 108.1);
Tailwind
colors: {
  custom: {
    50: '#bab365',
    500: '#98951c',
    950: '#000000',
  },
}
SCSS
$custom: #98951c;
$custom-light: #bab365;
$custom-dark: #000000;
JSON
{
  "hex": "#98951c",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 58.548,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65192,
    "c": 0.13254,
    "h": 108.1
  },
  "luminance": 0.28254
}

Semantic roles & 50–950 ramp

primary
#98951C
secondary
#4E51C1
accent
#40EC3C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98951C

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

Preview Lab → · Contrast checker → · Palette generator →

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