#988E26#988E26

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

Color values

HEX#988E26
RGBrgb(152, 142, 38)
HSLhsl(55, 60%, 37%)
HSVhsv(55, 75%, 60%)
CMYKcmyk(0%, 6.6%, 75%, 40.4%)
CIE-LABlab(58.19, -8.33, 53.22)
CIE-LCHlch(58.19, 53.86, 98.90°)
OKLaboklab(63.67% -0.0286 0.1172)
OKLCHoklch(63.67% 0.121 103.7)
XYZxyz(22.9728, 26.1623, 5.6731)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E26 #263098
analogous
#985526 #988E26 #699826
triadic
#988E26 #26988E #8E2698
tetradic
#988E26 #269855 #263098 #982669
square
#988E26 #269855 #263098 #982669
split-complementary
#988E26 #266998 #552698
monochromatic
#36330E #67601A #988E26 #C9BC32 #D7CD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988E26#FFFFFF#000000##000000
##988E261.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)
#9B8912
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988e26;
/* rgb */ color: rgb(152, 142, 38);
/* oklch */ color: oklch(63.7% 0.121 103.7);
Tailwind
colors: {
  custom: {
    50: '#baae68',
    500: '#988e26',
    950: '#000000',
  },
}
SCSS
$custom: #988e26;
$custom-light: #baae68;
$custom-dark: #000000;
JSON
{
  "hex": "#988e26",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 54.737,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.12065,
    "h": 103.7
  },
  "luminance": 0.26161
}

Semantic roles & 50–950 ramp

primary
#988E26
secondary
#5D65BD
accent
#53E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #988E26

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

Preview Lab → · Contrast checker → · Palette generator →

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