#98962D#98962D

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

Color values

HEX#98962D
RGBrgb(152, 150, 45)
HSLhsl(59, 54%, 39%)
HSVhsv(59, 70%, 60%)
CMYKcmyk(0%, 1.3%, 70.4%, 40.4%)
CIE-LABlab(60.50, -12.26, 52.79)
CIE-LCHlch(60.50, 54.19, 103.07°)
OKLaboklab(65.52% -0.0389 0.1176)
OKLCHoklch(65.52% 0.124 108.3)
XYZxyz(24.3298, 28.6783, 6.7360)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98962D #2D2F98
analogous
#98602D #98962D #64982D
triadic
#98962D #2D9896 #962D98
tetradic
#98962D #2D9860 #2D2F98 #982D64
square
#98962D #2D9860 #2D2F98 #982D64
split-complementary
#98962D #2D6498 #602D98
monochromatic
#3A3911 #69671F #98962D #C5C33D #D3D26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98962D#FFFFFF#000000##000000
##98962D1.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)
#A2901C
Deuteranopia (green-blind)
#A49434
Tritanopia (blue-blind)
#A38C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #98962d;
/* rgb */ color: rgb(152, 150, 45);
/* oklch */ color: oklch(65.5% 0.124 108.3);
Tailwind
colors: {
  custom: {
    50: '#b9b46d',
    500: '#98962d',
    950: '#000000',
  },
}
SCSS
$custom: #98962d;
$custom-light: #b9b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#98962d",
  "rgb": {
    "r": 152,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 58.879,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65524,
    "c": 0.12388,
    "h": 108.3
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#98962D
secondary
#6668BA
accent
#4DDE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98962D

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

Preview Lab → · Contrast checker → · Palette generator →

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