#988F23#988F23

#988F23 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.123 H 104.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#988F23
RGBrgb(152, 143, 35)
HSLhsl(55, 63%, 37%)
HSVhsv(55, 77%, 60%)
CMYKcmyk(0%, 5.9%, 77%, 40.4%)
CIE-LABlab(58.45, -9.01, 54.54)
CIE-LCHlch(58.45, 55.28, 99.38°)
OKLaboklab(63.88% -0.0308 0.1194)
OKLCHoklch(63.88% 0.123 104.4)
XYZxyz(23.0757, 26.4426, 5.4782)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988F23 #232C98
analogous
#985523 #988F23 #679823
triadic
#988F23 #23988F #8F2398
tetradic
#988F23 #239855 #232C98 #982367
square
#988F23 #239855 #232C98 #982367
split-complementary
#988F23 #236798 #552398
monochromatic
#35310C #666018 #988F23 #CABE2E #D9D05C

Accessibility & contrast

On white

3.34
#988F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#988F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988F23
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988F23#FFFFFF#000000##000000
##988F231.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0B
Deuteranopia (green-blind)
#9F8F2B
Tritanopia (blue-blind)
#A4857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #988f23;
/* rgb */ color: rgb(152, 143, 35);
/* oklch */ color: oklch(63.9% 0.123 104.4);
Tailwind
colors: {
  custom: {
    50: '#baaf67',
    500: '#988f23',
    950: '#000000',
  },
}
SCSS
$custom: #988f23;
$custom-light: #baaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#988f23",
  "rgb": {
    "r": 152,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 55.385,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63877,
    "c": 0.12334,
    "h": 104.4
  },
  "luminance": 0.26442
}

Semantic roles & 50–950 ramp

primary
#988F23
secondary
#5961BE
accent
#4FE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988F23

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

Preview Lab → · Contrast checker → · Palette generator →

#988F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva