#988026#988026

#988026 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.110 H 93.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#988026
RGBrgb(152, 128, 38)
HSLhsl(47, 60%, 37%)
HSVhsv(47, 75%, 60%)
CMYKcmyk(0%, 15.8%, 75%, 40.4%)
CIE-LABlab(54.30, -0.64, 49.48)
CIE-LCHlch(54.30, 49.48, 90.74°)
OKLaboklab(60.59% -0.0068 0.1093)
OKLCHoklch(60.59% 0.11 93.5)
XYZxyz(21.0191, 22.2549, 5.0219)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988026 #263E98
analogous
#984726 #988026 #779826
triadic
#988026 #269880 #802698
tetradic
#988026 #269847 #263E98 #982677
square
#988026 #269847 #263E98 #982677
split-complementary
#988026 #267798 #472698
monochromatic
#362E0E #67571A #988026 #C9A932 #D7BF61

Accessibility & contrast

On white

3.85
#988026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#988026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988026
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988026#FFFFFF#000000##000000
##9880261.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#A5756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988026;
/* rgb */ color: rgb(152, 128, 38);
/* oklch */ color: oklch(60.6% 0.110 93.5);
Tailwind
colors: {
  custom: {
    50: '#baa467',
    500: '#988026',
    950: '#000000',
  },
}
SCSS
$custom: #988026;
$custom-light: #baa467;
$custom-dark: #000000;
JSON
{
  "hex": "#988026",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 47.368,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60585,
    "c": 0.1095,
    "h": 93.5
  },
  "luminance": 0.22254
}

Semantic roles & 50–950 ramp

primary
#988026
secondary
#5D71BD
accent
#66E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988026

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

Preview Lab → · Contrast checker → · Palette generator →

#988026 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva