#998627#998627

#998627 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.113 H 97.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#998627
RGBrgb(153, 134, 39)
HSLhsl(50, 59%, 38%)
HSVhsv(50, 75%, 60%)
CMYKcmyk(0%, 12.4%, 74.5%, 40%)
CIE-LABlab(56.06, -3.46, 50.82)
CIE-LCHlch(56.06, 50.94, 93.90°)
OKLaboklab(62% -0.0147 0.1123)
OKLCHoklch(62% 0.113 97.5)
XYZxyz(22.0293, 23.9701, 5.3854)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998627 #273A99
analogous
#994D27 #998627 #739927
triadic
#998627 #279986 #862799
tetradic
#998627 #27994D #273A99 #992773
square
#998627 #27994D #273A99 #992773
split-complementary
#998627 #277399 #4D2799
monochromatic
#37310E #685B1B #998627 #CAB133 #D7C463

Accessibility & contrast

On white

3.62
#998627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##998627#FFFFFF#000000##000000
##9986271.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#99892D
Tritanopia (blue-blind)
#A57C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998627;
/* rgb */ color: rgb(153, 134, 39);
/* oklch */ color: oklch(62.0% 0.113 97.5);
Tailwind
colors: {
  custom: {
    50: '#bba868',
    500: '#998627',
    950: '#000000',
  },
}
SCSS
$custom: #998627;
$custom-light: #bba868;
$custom-dark: #000000;
JSON
{
  "hex": "#998627",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 39
  },
  "hsl": {
    "h": 50,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.11326,
    "h": 97.5
  },
  "luminance": 0.23969
}

Semantic roles & 50–950 ramp

primary
#998627
secondary
#5F6FBD
accent
#5FE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998627

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

Preview Lab → · Contrast checker → · Palette generator →

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