#98911F#98911F

#98911F is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.127 H 105.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#98911F
RGBrgb(152, 145, 31)
HSLhsl(57, 66%, 36%)
HSVhsv(57, 80%, 60%)
CMYKcmyk(0%, 4.6%, 79.6%, 40.4%)
CIE-LABlab(59.00, -10.24, 56.36)
CIE-LCHlch(59.00, 57.28, 100.30°)
OKLaboklab(64.3% -0.0346 0.1225)
OKLCHoklch(64.3% 0.127 105.8)
XYZxyz(23.3226, 27.0260, 5.2841)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98911F #1F2698
analogous
#98541F #98911F #62981F
triadic
#98911F #1F9891 #911F98
tetradic
#98911F #1F9854 #1F2698 #981F62
square
#98911F #1F9854 #1F2698 #981F62
split-complementary
#98911F #1F6298 #541F98
monochromatic
#32300A #656115 #98911F #CBC129 #DCD555

Accessibility & contrast

On white

3.28
#98911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#98911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98911F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98911F#FFFFFF#000000##000000
##98911F1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#A4877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #98911f;
/* rgb */ color: rgb(152, 145, 31);
/* oklch */ color: oklch(64.3% 0.127 105.8);
Tailwind
colors: {
  custom: {
    50: '#bab065',
    500: '#98911f',
    950: '#000000',
  },
}
SCSS
$custom: #98911f;
$custom-light: #bab065;
$custom-dark: #000000;
JSON
{
  "hex": "#98911f",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 56.529,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.12732,
    "h": 105.8
  },
  "luminance": 0.27025
}

Semantic roles & 50–950 ramp

primary
#98911F
secondary
#5359C0
accent
#49E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #98911F

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

Preview Lab → · Contrast checker → · Palette generator →

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