#98931F#98931F

#98931F is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.8% C 0.129 H 106.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#98931F
RGBrgb(152, 147, 31)
HSLhsl(58, 66%, 36%)
HSVhsv(58, 80%, 60%)
CMYKcmyk(0%, 3.3%, 79.6%, 40.4%)
CIE-LABlab(59.56, -11.31, 56.86)
CIE-LCHlch(59.56, 57.98, 101.25°)
OKLaboklab(64.76% -0.0376 0.1236)
OKLCHoklch(64.76% 0.129 106.9)
XYZxyz(23.6309, 27.6426, 5.3868)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98931F #1F2498
analogous
#98561F #98931F #60981F
triadic
#98931F #1F9893 #931F98
tetradic
#98931F #1F9856 #1F2498 #981F60
square
#98931F #1F9856 #1F2498 #981F60
split-complementary
#98931F #1F6098 #561F98
monochromatic
#32310A #656215 #98931F #CBC429 #DCD755

Accessibility & contrast

On white

3.22
#98931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#98931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98931F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98931F#FFFFFF#000000##000000
##98931F1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#A4897E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #98931f;
/* rgb */ color: rgb(152, 147, 31);
/* oklch */ color: oklch(64.8% 0.129 106.9);
Tailwind
colors: {
  custom: {
    50: '#bab266',
    500: '#98931f',
    950: '#000000',
  },
}
SCSS
$custom: #98931f;
$custom-light: #bab266;
$custom-dark: #000000;
JSON
{
  "hex": "#98931f",
  "rgb": {
    "r": 152,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 57.521,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.1292,
    "h": 106.9
  },
  "luminance": 0.27642
}

Semantic roles & 50–950 ramp

primary
#98931F
secondary
#5357C0
accent
#46E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #98931F

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

Preview Lab → · Contrast checker → · Palette generator →

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