#998E26#998E26

#998E26 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.8% C 0.121 H 103.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#998E26
RGBrgb(153, 142, 38)
HSLhsl(54, 60%, 37%)
HSVhsv(54, 75%, 60%)
CMYKcmyk(0%, 7.2%, 75.2%, 40%)
CIE-LABlab(58.28, -7.88, 53.33)
CIE-LCHlch(58.28, 53.91, 98.40°)
OKLaboklab(63.77% -0.0274 0.1174)
OKLCHoklch(63.77% 0.121 103.1)
XYZxyz(23.1608, 26.2592, 5.6819)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E26 #263199
analogous
#995526 #998E26 #6A9926
triadic
#998E26 #26998E #8E2699
tetradic
#998E26 #269955 #263199 #99266A
square
#998E26 #269955 #263199 #99266A
split-complementary
#998E26 #266A99 #552699
monochromatic
#37330E #68611A #998E26 #CABB32 #D8CD62

Accessibility & contrast

On white

3.36
#998E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#998E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E26
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E26#FFFFFF#000000##000000
##998E261.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998e26;
/* rgb */ color: rgb(153, 142, 38);
/* oklch */ color: oklch(63.8% 0.121 103.1);
Tailwind
colors: {
  custom: {
    50: '#baae68',
    500: '#998e26',
    950: '#000000',
  },
}
SCSS
$custom: #998e26;
$custom-light: #baae68;
$custom-dark: #000000;
JSON
{
  "hex": "#998e26",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 54.261,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63767,
    "c": 0.12058,
    "h": 103.1
  },
  "luminance": 0.26258
}

Semantic roles & 50–950 ramp

primary
#998E26
secondary
#5E67BD
accent
#54E344
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998E26

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

Preview Lab → · Contrast checker → · Palette generator →

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