#998D26#998D26

#998D26 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.5% C 0.120 H 102.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#998D26
RGBrgb(153, 141, 38)
HSLhsl(54, 60%, 37%)
HSVhsv(54, 75%, 60%)
CMYKcmyk(0%, 7.8%, 75.2%, 40%)
CIE-LABlab(58.00, -7.34, 53.07)
CIE-LCHlch(58.00, 53.57, 97.87°)
OKLaboklab(63.54% -0.0258 0.1169)
OKLCHoklch(63.54% 0.12 102.5)
XYZxyz(23.0126, 25.9630, 5.6325)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D26 #263299
analogous
#995326 #998D26 #6C9926
triadic
#998D26 #26998D #8D2699
tetradic
#998D26 #269953 #263299 #99266C
square
#998D26 #269953 #263299 #99266C
split-complementary
#998D26 #266C99 #532699
monochromatic
#37330E #68601A #998D26 #CABA32 #D8CC62

Accessibility & contrast

On white

3.39
#998D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#998D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D26
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D26#FFFFFF#000000##000000
##998D261.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8813
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d26;
/* rgb */ color: rgb(153, 141, 38);
/* oklch */ color: oklch(63.5% 0.120 102.5);
Tailwind
colors: {
  custom: {
    50: '#bbae68',
    500: '#998d26',
    950: '#000000',
  },
}
SCSS
$custom: #998d26;
$custom-light: #bbae68;
$custom-dark: #000000;
JSON
{
  "hex": "#998d26",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 53.739,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63544,
    "c": 0.11969,
    "h": 102.5
  },
  "luminance": 0.25962
}

Semantic roles & 50–950 ramp

primary
#998D26
secondary
#5E68BD
accent
#55E344
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D26

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

Preview Lab → · Contrast checker → · Palette generator →

#998D26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva