#998623#998623

#998623 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.116 H 97.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#998623
RGBrgb(153, 134, 35)
HSLhsl(50, 63%, 37%)
HSVhsv(50, 77%, 60%)
CMYKcmyk(0%, 12.4%, 77.1%, 40%)
CIE-LABlab(56.03, -3.65, 52.31)
CIE-LCHlch(56.03, 52.44, 93.99°)
OKLaboklab(61.98% -0.0157 0.1147)
OKLCHoklch(61.98% 0.116 97.8)
XYZxyz(21.9665, 23.9450, 5.0546)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998623 #233699
analogous
#994B23 #998623 #719923
triadic
#998623 #239986 #862399
tetradic
#998623 #23994B #233699 #992371
square
#998623 #23994B #233699 #992371
split-complementary
#998623 #237199 #4B2399
monochromatic
#352F0C #675A18 #998623 #CBB22E #DAC65D

Accessibility & contrast

On white

3.63
#998623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#998623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998623
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998623#FFFFFF#000000##000000
##9986231.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830F
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998623;
/* rgb */ color: rgb(153, 134, 35);
/* oklch */ color: oklch(62.0% 0.116 97.8);
Tailwind
colors: {
  custom: {
    50: '#bba866',
    500: '#998623',
    950: '#000000',
  },
}
SCSS
$custom: #998623;
$custom-light: #bba866;
$custom-dark: #000000;
JSON
{
  "hex": "#998623",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 50.339,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.11573,
    "h": 97.8
  },
  "luminance": 0.23944
}

Semantic roles & 50–950 ramp

primary
#998623
secondary
#596ABE
accent
#5CE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998623

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

Preview Lab → · Contrast checker → · Palette generator →

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