#98921F#98921F

#98921F is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.128 H 106.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#98921F
RGBrgb(152, 146, 31)
HSLhsl(57, 66%, 36%)
HSVhsv(57, 80%, 60%)
CMYKcmyk(0%, 3.9%, 79.6%, 40.4%)
CIE-LABlab(59.28, -10.78, 56.61)
CIE-LCHlch(59.28, 57.63, 100.78°)
OKLaboklab(64.53% -0.0361 0.1231)
OKLCHoklch(64.53% 0.128 106.3)
XYZxyz(23.4761, 27.3330, 5.3352)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98921F #1F2598
analogous
#98551F #98921F #61981F
triadic
#98921F #1F9892 #921F98
tetradic
#98921F #1F9855 #1F2598 #981F61
square
#98921F #1F9855 #1F2598 #981F61
split-complementary
#98921F #1F6198 #551F98
monochromatic
#32300A #656115 #98921F #CBC329 #DCD655

Accessibility & contrast

On white

3.25
#98921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#98921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98921F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98921F#FFFFFF#000000##000000
##98921F1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#A4887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #98921f;
/* rgb */ color: rgb(152, 146, 31);
/* oklch */ color: oklch(64.5% 0.128 106.3);
Tailwind
colors: {
  custom: {
    50: '#bab166',
    500: '#98921f',
    950: '#000000',
  },
}
SCSS
$custom: #98921f;
$custom-light: #bab166;
$custom-dark: #000000;
JSON
{
  "hex": "#98921f",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 57.025,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.12826,
    "h": 106.3
  },
  "luminance": 0.27332
}

Semantic roles & 50–950 ramp

primary
#98921F
secondary
#5358C0
accent
#47E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #98921F

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

Preview Lab → · Contrast checker → · Palette generator →

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