#98951F#98951F

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

Color values

HEX#98951F
RGBrgb(152, 149, 31)
HSLhsl(59, 66%, 36%)
HSVhsv(59, 80%, 60%)
CMYKcmyk(0%, 2%, 79.6%, 40.4%)
CIE-LABlab(60.13, -12.37, 57.37)
CIE-LCHlch(60.13, 58.69, 102.17°)
OKLaboklab(65.21% -0.0405 0.1247)
OKLCHoklch(65.21% 0.131 108)
XYZxyz(23.9446, 28.2700, 5.4914)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98951F #1F2298
analogous
#98581F #98951F #5E981F
triadic
#98951F #1F9895 #951F98
tetradic
#98951F #1F9858 #1F2298 #981F5E
square
#98951F #1F9858 #1F2298 #981F5E
split-complementary
#98951F #1F5E98 #581F98
monochromatic
#32310A #656315 #98951F #CBC729 #DCD955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98951F#FFFFFF#000000##000000
##98951F1.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)
#A49329
Tritanopia (blue-blind)
#A38B7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #98951f;
/* rgb */ color: rgb(152, 149, 31);
/* oklch */ color: oklch(65.2% 0.131 108.0);
Tailwind
colors: {
  custom: {
    50: '#bab366',
    500: '#98951f',
    950: '#000000',
  },
}
SCSS
$custom: #98951f;
$custom-light: #bab366;
$custom-dark: #000000;
JSON
{
  "hex": "#98951f",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 58.512,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65207,
    "c": 0.13112,
    "h": 108
  },
  "luminance": 0.28269
}

Semantic roles & 50–950 ramp

primary
#98951F
secondary
#5356C0
accent
#43E93F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98951F

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

Preview Lab → · Contrast checker → · Palette generator →

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