#98962F#98962F

#98962F is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.5% C 0.122 H 108.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#98962F
RGBrgb(152, 150, 47)
HSLhsl(59, 53%, 39%)
HSVhsv(59, 69%, 60%)
CMYKcmyk(0%, 1.3%, 69.1%, 40.4%)
CIE-LABlab(60.51, -12.15, 52.01)
CIE-LCHlch(60.51, 53.41, 103.14°)
OKLaboklab(65.54% -0.0384 0.1163)
OKLCHoklch(65.54% 0.122 108.3)
XYZxyz(24.3692, 28.6941, 6.9436)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98962F #2F3198
analogous
#98622F #98962F #66982F
triadic
#98962F #2F9896 #962F98
tetradic
#98962F #2F9862 #2F3198 #982F66
square
#98962F #2F9862 #2F3198 #982F66
split-complementary
#98962F #2F6698 #622F98
monochromatic
#3B3A12 #696821 #98962F #C4C140 #D2D16F

Accessibility & contrast

On white

3.12
#98962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#98962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98962F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98962F#FFFFFF#000000##000000
##98962F1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901F
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#A38C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #98962f;
/* rgb */ color: rgb(152, 150, 47);
/* oklch */ color: oklch(65.5% 0.122 108.3);
Tailwind
colors: {
  custom: {
    50: '#b9b46e',
    500: '#98962f',
    950: '#000000',
  },
}
SCSS
$custom: #98962f;
$custom-light: #b9b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#98962f",
  "rgb": {
    "r": 152,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 58.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6554,
    "c": 0.12249,
    "h": 108.3
  },
  "luminance": 0.28693
}

Semantic roles & 50–950 ramp

primary
#98962F
secondary
#696ABA
accent
#4EDC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98962F

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

Preview Lab → · Contrast checker → · Palette generator →

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