#98962E#98962E

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

Color values

HEX#98962E
RGBrgb(152, 150, 46)
HSLhsl(59, 54%, 39%)
HSVhsv(59, 70%, 60%)
CMYKcmyk(0%, 1.3%, 69.7%, 40.4%)
CIE-LABlab(60.50, -12.20, 52.40)
CIE-LCHlch(60.50, 53.80, 103.11°)
OKLaboklab(65.53% -0.0386 0.117)
OKLCHoklch(65.53% 0.123 108.3)
XYZxyz(24.3493, 28.6861, 6.8386)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98962E #2E3098
analogous
#98612E #98962E #65982E
triadic
#98962E #2E9896 #962E98
tetradic
#98962E #2E9861 #2E3098 #982E65
square
#98962E #2E9861 #2E3098 #982E65
split-complementary
#98962E #2E6598 #612E98
monochromatic
#3A3912 #696820 #98962E #C5C23E #D3D16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98962E#FFFFFF#000000##000000
##98962E1.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)
#A2901E
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#A38C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #98962e;
/* rgb */ color: rgb(152, 150, 46);
/* oklch */ color: oklch(65.5% 0.123 108.3);
Tailwind
colors: {
  custom: {
    50: '#b9b46d',
    500: '#98962e',
    950: '#000000',
  },
}
SCSS
$custom: #98962e;
$custom-light: #b9b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#98962e",
  "rgb": {
    "r": 152,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 58.868,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65532,
    "c": 0.1232,
    "h": 108.3
  },
  "luminance": 0.28685
}

Semantic roles & 50–950 ramp

primary
#98962E
secondary
#6869BA
accent
#4EDD4B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98962E

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

Preview Lab → · Contrast checker → · Palette generator →

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