#998F23#998F23

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

Color values

HEX#998F23
RGBrgb(153, 143, 35)
HSLhsl(55, 63%, 37%)
HSVhsv(55, 77%, 60%)
CMYKcmyk(0%, 6.5%, 77.1%, 40%)
CIE-LABlab(58.55, -8.55, 54.65)
CIE-LCHlch(58.55, 55.32, 98.89°)
OKLaboklab(63.97% -0.0295 0.1196)
OKLCHoklch(63.97% 0.123 103.9)
XYZxyz(23.2637, 26.5395, 5.4870)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F23 #232D99
analogous
#995423 #998F23 #689923
triadic
#998F23 #23998F #8F2399
tetradic
#998F23 #239954 #232D99 #992368
square
#998F23 #239954 #232D99 #992368
split-complementary
#998F23 #236899 #542399
monochromatic
#35320C #676018 #998F23 #CBBE2E #DACF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F23#FFFFFF#000000##000000
##998F231.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)
#9C8A0B
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f23;
/* rgb */ color: rgb(153, 143, 35);
/* oklch */ color: oklch(64.0% 0.123 103.9);
Tailwind
colors: {
  custom: {
    50: '#bbaf67',
    500: '#998f23',
    950: '#000000',
  },
}
SCSS
$custom: #998f23;
$custom-light: #bbaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#998f23",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 54.915,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63971,
    "c": 0.12324,
    "h": 103.9
  },
  "luminance": 0.26539
}

Semantic roles & 50–950 ramp

primary
#998F23
secondary
#5962BE
accent
#50E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998F23

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

Preview Lab → · Contrast checker → · Palette generator →

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