#998F26#998F26

#998F26 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.121 H 103.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#998F26
RGBrgb(153, 143, 38)
HSLhsl(55, 60%, 37%)
HSVhsv(55, 75%, 60%)
CMYKcmyk(0%, 6.5%, 75.2%, 40%)
CIE-LABlab(58.56, -8.42, 53.60)
CIE-LCHlch(58.56, 54.26, 98.93°)
OKLaboklab(63.99% -0.0289 0.118)
OKLCHoklch(63.99% 0.121 103.8)
XYZxyz(23.3102, 26.5581, 5.7317)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F26 #263099
analogous
#995626 #998F26 #699926
triadic
#998F26 #26998F #8F2699
tetradic
#998F26 #269956 #263099 #992669
square
#998F26 #269956 #263099 #992669
split-complementary
#998F26 #266999 #562699
monochromatic
#37330E #68611A #998F26 #CABD32 #D8CE62

Accessibility & contrast

On white

3.33
#998F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#998F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F26
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F26#FFFFFF#000000##000000
##998F261.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f26;
/* rgb */ color: rgb(153, 143, 38);
/* oklch */ color: oklch(64.0% 0.121 103.8);
Tailwind
colors: {
  custom: {
    50: '#baaf69',
    500: '#998f26',
    950: '#000000',
  },
}
SCSS
$custom: #998f26;
$custom-light: #baaf69;
$custom-dark: #000000;
JSON
{
  "hex": "#998f26",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 54.783,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63991,
    "c": 0.12148,
    "h": 103.8
  },
  "luminance": 0.26557
}

Semantic roles & 50–950 ramp

primary
#998F26
secondary
#5E66BD
accent
#52E344
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F26

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

Preview Lab → · Contrast checker → · Palette generator →

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