#988E24#988E24

#988E24 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.122 H 103.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#988E24
RGBrgb(152, 142, 36)
HSLhsl(55, 62%, 37%)
HSVhsv(55, 76%, 60%)
CMYKcmyk(0%, 6.6%, 76.3%, 40.4%)
CIE-LABlab(58.18, -8.42, 53.93)
CIE-LCHlch(58.18, 54.58, 98.88°)
OKLaboklab(63.66% -0.029 0.1183)
OKLCHoklch(63.66% 0.122 103.8)
XYZxyz(22.9413, 26.1497, 5.5077)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E24 #242E98
analogous
#985424 #988E24 #689824
triadic
#988E24 #24988E #8E2498
tetradic
#988E24 #249854 #242E98 #982468
square
#988E24 #249854 #242E98 #982468
split-complementary
#988E24 #246898 #542498
monochromatic
#35320D #676018 #988E24 #C9BC30 #D9CE5E

Accessibility & contrast

On white

3.37
#988E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#988E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988E24
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988E24#FFFFFF#000000##000000
##988E241.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988e24;
/* rgb */ color: rgb(152, 142, 36);
/* oklch */ color: oklch(63.7% 0.122 103.8);
Tailwind
colors: {
  custom: {
    50: '#baae67',
    500: '#988e24',
    950: '#000000',
  },
}
SCSS
$custom: #988e24;
$custom-light: #baae67;
$custom-dark: #000000;
JSON
{
  "hex": "#988e24",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 54.828,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63659,
    "c": 0.12185,
    "h": 103.8
  },
  "luminance": 0.26149
}

Semantic roles & 50–950 ramp

primary
#988E24
secondary
#5A63BE
accent
#51E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988E24

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

Preview Lab → · Contrast checker → · Palette generator →

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