#998C26#998C26

#998C26 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.119 H 101.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#998C26
RGBrgb(153, 140, 38)
HSLhsl(53, 60%, 37%)
HSVhsv(53, 75%, 60%)
CMYKcmyk(0%, 8.5%, 75.2%, 40%)
CIE-LABlab(57.72, -6.80, 52.80)
CIE-LCHlch(57.72, 53.24, 97.33°)
OKLaboklab(63.32% -0.0243 0.1163)
OKLCHoklch(63.32% 0.119 101.8)
XYZxyz(22.8659, 25.6694, 5.5836)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C26 #263399
analogous
#995226 #998C26 #6D9926
triadic
#998C26 #26998C #8C2699
tetradic
#998C26 #269952 #263399 #99266D
square
#998C26 #269952 #263399 #99266D
split-complementary
#998C26 #266D99 #522699
monochromatic
#37320E #685F1A #998C26 #CAB932 #D8CB62

Accessibility & contrast

On white

3.42
#998C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#998C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C26
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C26#FFFFFF#000000##000000
##998C261.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998813
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#A58278
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c26;
/* rgb */ color: rgb(153, 140, 38);
/* oklch */ color: oklch(63.3% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#bbad68',
    500: '#998c26',
    950: '#000000',
  },
}
SCSS
$custom: #998c26;
$custom-light: #bbad68;
$custom-dark: #000000;
JSON
{
  "hex": "#998c26",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 53.217,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63322,
    "c": 0.11881,
    "h": 101.8
  },
  "luminance": 0.25668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998C26

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

Preview Lab → · Contrast checker → · Palette generator →

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