#998123#998123

#998123 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.112 H 94.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#998123
RGBrgb(153, 129, 35)
HSLhsl(48, 63%, 37%)
HSVhsv(48, 77%, 60%)
CMYKcmyk(0%, 15.7%, 77.1%, 40%)
CIE-LABlab(54.65, -0.87, 51.02)
CIE-LCHlch(54.65, 51.03, 90.98°)
OKLaboklab(60.88% -0.0078 0.1119)
OKLCHoklch(60.88% 0.112 94)
XYZxyz(21.2917, 22.5954, 4.8297)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998123 #233B99
analogous
#994623 #998123 #769923
triadic
#998123 #239981 #812399
tetradic
#998123 #239946 #233B99 #992376
square
#998123 #239946 #233B99 #992376
split-complementary
#998123 #237699 #462399
monochromatic
#352D0C #675718 #998123 #CBAB2E #DAC05D

Accessibility & contrast

On white

3.81
#998123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#998123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998123
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998123#FFFFFF#000000##000000
##9981231.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F12
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #998123;
/* rgb */ color: rgb(153, 129, 35);
/* oklch */ color: oklch(60.9% 0.112 94.0);
Tailwind
colors: {
  custom: {
    50: '#bba565',
    500: '#998123',
    950: '#000000',
  },
}
SCSS
$custom: #998123;
$custom-light: #bba565;
$custom-dark: #000000;
JSON
{
  "hex": "#998123",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 47.797,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60884,
    "c": 0.11217,
    "h": 94
  },
  "luminance": 0.22594
}

Semantic roles & 50–950 ramp

primary
#998123
secondary
#596EBE
accent
#63E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998123

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

Preview Lab → · Contrast checker → · Palette generator →

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