#998626#998626

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

Color values

HEX#998626
RGBrgb(153, 134, 38)
HSLhsl(50, 60%, 37%)
HSVhsv(50, 75%, 60%)
CMYKcmyk(0%, 12.4%, 75.2%, 40%)
CIE-LABlab(56.05, -3.51, 51.21)
CIE-LCHlch(56.05, 51.33, 93.92°)
OKLaboklab(62% -0.015 0.1129)
OKLCHoklch(62% 0.114 97.6)
XYZxyz(22.0129, 23.9636, 5.2993)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998626 #263999
analogous
#994D26 #998626 #729926
triadic
#998626 #269986 #862699
tetradic
#998626 #26994D #263999 #992672
square
#998626 #26994D #263999 #992672
split-complementary
#998626 #267299 #4D2699
monochromatic
#37300E #685B1A #998626 #CAB132 #D8C462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998626#FFFFFF#000000##000000
##9986261.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)
#948315
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998626;
/* rgb */ color: rgb(153, 134, 38);
/* oklch */ color: oklch(62.0% 0.114 97.6);
Tailwind
colors: {
  custom: {
    50: '#bba867',
    500: '#998626',
    950: '#000000',
  },
}
SCSS
$custom: #998626;
$custom-light: #bba867;
$custom-dark: #000000;
JSON
{
  "hex": "#998626",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 50.087,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61997,
    "c": 0.1139,
    "h": 97.6
  },
  "luminance": 0.23962
}

Semantic roles & 50–950 ramp

primary
#998626
secondary
#5E6DBD
accent
#5FE344
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998626

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

Preview Lab → · Contrast checker → · Palette generator →

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