#999826#999826

#999826 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.0% C 0.130 H 109.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#999826
RGBrgb(153, 152, 38)
HSLhsl(59, 60%, 37%)
HSVhsv(59, 75%, 60%)
CMYKcmyk(0%, 0.7%, 75.2%, 40%)
CIE-LABlab(61.11, -13.21, 56.00)
CIE-LCHlch(61.11, 57.53, 103.28°)
OKLaboklab(66.02% -0.0423 0.1231)
OKLCHoklch(66.02% 0.13 109)
XYZxyz(24.7159, 29.3695, 6.2003)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999826 #262799
analogous
#995E26 #999826 #619926
triadic
#999826 #269998 #982699
tetradic
#999826 #26995E #262799 #992661
square
#999826 #26995E #262799 #992661
split-complementary
#999826 #266199 #5E2699
monochromatic
#37370E #68671A #999826 #CAC932 #D8D762

Accessibility & contrast

On white

3.06
#999826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#999826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999826
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999826#FFFFFF#000000##000000
##9998261.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910D
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#A48E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #999826;
/* rgb */ color: rgb(153, 152, 38);
/* oklch */ color: oklch(66.0% 0.130 109.0);
Tailwind
colors: {
  custom: {
    50: '#bab66a',
    500: '#999826',
    950: '#000000',
  },
}
SCSS
$custom: #999826;
$custom-light: #bab66a;
$custom-dark: #000000;
JSON
{
  "hex": "#999826",
  "rgb": {
    "r": 153,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 59.478,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66018,
    "c": 0.13015,
    "h": 109
  },
  "luminance": 0.29369
}

Semantic roles & 50–950 ramp

primary
#999826
secondary
#5E5EBD
accent
#46E344
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #999826

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

Preview Lab → · Contrast checker → · Palette generator →

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