#988E23#988E23

#988E23 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#988E23
RGBrgb(152, 142, 35)
HSLhsl(55, 63%, 37%)
HSVhsv(55, 77%, 60%)
CMYKcmyk(0%, 6.6%, 77%, 40.4%)
CIE-LABlab(58.17, -8.47, 54.28)
CIE-LCHlch(58.17, 54.93, 98.87°)
OKLaboklab(63.65% -0.0292 0.1189)
OKLCHoklch(63.65% 0.122 103.8)
XYZxyz(22.9263, 26.1437, 5.4284)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E23 #232D98
analogous
#985423 #988E23 #689823
triadic
#988E23 #23988E #8E2398
tetradic
#988E23 #239854 #232D98 #982368
square
#988E23 #239854 #232D98 #982368
split-complementary
#988E23 #236898 #542398
monochromatic
#35310C #666018 #988E23 #CABC2E #D9CF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988E23#FFFFFF#000000##000000
##988E231.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)
#9B890B
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988e23;
/* rgb */ color: rgb(152, 142, 35);
/* oklch */ color: oklch(63.7% 0.122 103.8);
Tailwind
colors: {
  custom: {
    50: '#baae67',
    500: '#988e23',
    950: '#000000',
  },
}
SCSS
$custom: #988e23;
$custom-light: #baae67;
$custom-dark: #000000;
JSON
{
  "hex": "#988e23",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 54.872,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.12243,
    "h": 103.8
  },
  "luminance": 0.26143
}

Semantic roles & 50–950 ramp

primary
#988E23
secondary
#5961BE
accent
#50E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988E23

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

Preview Lab → · Contrast checker → · Palette generator →

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