#998023#998023

#998023 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.112 H 93.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#998023
RGBrgb(153, 128, 35)
HSLhsl(47, 63%, 37%)
HSVhsv(47, 77%, 60%)
CMYKcmyk(0%, 16.3%, 77.1%, 40%)
CIE-LABlab(54.38, -0.32, 50.76)
CIE-LCHlch(54.38, 50.76, 90.36°)
OKLaboklab(60.67% -0.0062 0.1114)
OKLCHoklch(60.67% 0.112 93.2)
XYZxyz(21.1606, 22.3332, 4.7860)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998023 #233C99
analogous
#994523 #998023 #779923
triadic
#998023 #239980 #802399
tetradic
#998023 #239945 #233C99 #992377
square
#998023 #239945 #233C99 #992377
split-complementary
#998023 #237799 #452399
monochromatic
#352D0C #675618 #998023 #CBAA2E #DABF5D

Accessibility & contrast

On white

3.84
#998023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#998023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998023
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998023#FFFFFF#000000##000000
##9980231.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E12
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#A6756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #998023;
/* rgb */ color: rgb(153, 128, 35);
/* oklch */ color: oklch(60.7% 0.112 93.2);
Tailwind
colors: {
  custom: {
    50: '#bba465',
    500: '#998023',
    950: '#000000',
  },
}
SCSS
$custom: #998023;
$custom-light: #bba465;
$custom-dark: #000000;
JSON
{
  "hex": "#998023",
  "rgb": {
    "r": 153,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 47.288,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.11152,
    "h": 93.2
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#998023
secondary
#596FBE
accent
#65E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998023

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

Preview Lab → · Contrast checker → · Palette generator →

#998023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva