#988F22#988F22

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

Color values

HEX#988F22
RGBrgb(152, 143, 34)
HSLhsl(55, 63%, 36%)
HSVhsv(55, 78%, 60%)
CMYKcmyk(0%, 5.9%, 77.6%, 40.4%)
CIE-LABlab(58.45, -9.05, 54.88)
CIE-LCHlch(58.45, 55.62, 99.36°)
OKLaboklab(63.87% -0.031 0.12)
OKLCHoklch(63.87% 0.124 104.5)
XYZxyz(23.0611, 26.4368, 5.4011)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988F22 #222B98
analogous
#985422 #988F22 #669822
triadic
#988F22 #22988F #8F2298
tetradic
#988F22 #229854 #222B98 #982266
square
#988F22 #229854 #222B98 #982266
split-complementary
#988F22 #226698 #542298
monochromatic
#34310C #666017 #988F22 #CABE2D #DAD05A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988F22#FFFFFF#000000##000000
##988F221.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)
#9C8A08
Deuteranopia (green-blind)
#9F8F2A
Tritanopia (blue-blind)
#A4857A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #988f22;
/* rgb */ color: rgb(152, 143, 34);
/* oklch */ color: oklch(63.9% 0.124 104.5);
Tailwind
colors: {
  custom: {
    50: '#baaf67',
    500: '#988f22',
    950: '#000000',
  },
}
SCSS
$custom: #988f22;
$custom-light: #baaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#988f22",
  "rgb": {
    "r": 152,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 55.424,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63871,
    "c": 0.1239,
    "h": 104.5
  },
  "luminance": 0.26436
}

Semantic roles & 50–950 ramp

primary
#988F22
secondary
#575FBE
accent
#4EE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988F22

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

Preview Lab → · Contrast checker → · Palette generator →

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