#998C23#998C23

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

Color values

HEX#998C23
RGBrgb(153, 140, 35)
HSLhsl(53, 63%, 37%)
HSVhsv(53, 77%, 60%)
CMYKcmyk(0%, 8.5%, 77.1%, 40%)
CIE-LABlab(57.70, -6.93, 53.87)
CIE-LCHlch(57.70, 54.32, 97.33°)
OKLaboklab(63.3% -0.025 0.118)
OKLCHoklch(63.3% 0.121 102)
XYZxyz(22.8194, 25.6508, 5.3389)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C23 #233099
analogous
#995123 #998C23 #6B9923
triadic
#998C23 #23998C #8C2399
tetradic
#998C23 #239951 #233099 #99236B
square
#998C23 #239951 #233099 #99236B
split-complementary
#998C23 #236B99 #512399
monochromatic
#35310C #675E18 #998C23 #CBBA2E #DACC5D

Accessibility & contrast

On white

3.43
#998C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##998C23#FFFFFF#000000##000000
##998C231.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998c23;
/* rgb */ color: rgb(153, 140, 35);
/* oklch */ color: oklch(63.3% 0.121 102.0);
Tailwind
colors: {
  custom: {
    50: '#bbad67',
    500: '#998c23',
    950: '#000000',
  },
}
SCSS
$custom: #998c23;
$custom-light: #bbad67;
$custom-dark: #000000;
JSON
{
  "hex": "#998c23",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 53.39,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.1206,
    "h": 102
  },
  "luminance": 0.2565
}

Semantic roles & 50–950 ramp

primary
#998C23
secondary
#5964BE
accent
#54E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998C23

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

Preview Lab → · Contrast checker → · Palette generator →

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