#998B23#998B23

#998B23 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.120 H 101.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#998B23
RGBrgb(153, 139, 35)
HSLhsl(53, 63%, 37%)
HSVhsv(53, 77%, 60%)
CMYKcmyk(0%, 9.2%, 77.1%, 40%)
CIE-LABlab(57.42, -6.39, 53.61)
CIE-LCHlch(57.42, 53.99, 96.79°)
OKLaboklab(63.08% -0.0234 0.1174)
OKLCHoklch(63.08% 0.12 101.3)
XYZxyz(22.6739, 25.3599, 5.2904)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B23 #233199
analogous
#995023 #998B23 #6C9923
triadic
#998B23 #23998B #8B2399
tetradic
#998B23 #239950 #233199 #99236C
square
#998B23 #239950 #233199 #99236C
split-complementary
#998B23 #236C99 #502399
monochromatic
#35310C #675E18 #998B23 #CBB82E #DACB5D

Accessibility & contrast

On white

3.46
#998B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#998B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B23
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B23#FFFFFF#000000##000000
##998B231.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870D
Deuteranopia (green-blind)
#9D8C2A
Tritanopia (blue-blind)
#A58177
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b23;
/* rgb */ color: rgb(153, 139, 35);
/* oklch */ color: oklch(63.1% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#bbac67',
    500: '#998b23',
    950: '#000000',
  },
}
SCSS
$custom: #998b23;
$custom-light: #bbac67;
$custom-dark: #000000;
JSON
{
  "hex": "#998b23",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 52.881,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.11975,
    "h": 101.3
  },
  "luminance": 0.25359
}

Semantic roles & 50–950 ramp

primary
#998B23
secondary
#5965BE
accent
#55E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998B23

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

Preview Lab → · Contrast checker → · Palette generator →

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