#999226#999226

#999226 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.7% C 0.124 H 105.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#999226
RGBrgb(153, 146, 38)
HSLhsl(56, 60%, 37%)
HSVhsv(56, 75%, 60%)
CMYKcmyk(0%, 4.6%, 75.2%, 40%)
CIE-LABlab(59.41, -10.03, 54.40)
CIE-LCHlch(59.41, 55.32, 100.45°)
OKLaboklab(64.66% -0.0334 0.1197)
OKLCHoklch(64.66% 0.124 105.6)
XYZxyz(23.7666, 27.4709, 5.8839)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999226 #262D99
analogous
#995926 #999226 #669926
triadic
#999226 #269992 #922699
tetradic
#999226 #269959 #262D99 #992666
square
#999226 #269959 #262D99 #992666
split-complementary
#999226 #266699 #592699
monochromatic
#37340E #68631A #999226 #CAC132 #D8D162

Accessibility & contrast

On white

3.23
#999226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#999226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999226
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999226#FFFFFF#000000##000000
##9992261.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D10
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#A5887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #999226;
/* rgb */ color: rgb(153, 146, 38);
/* oklch */ color: oklch(64.7% 0.124 105.6);
Tailwind
colors: {
  custom: {
    50: '#bab169',
    500: '#999226',
    950: '#000000',
  },
}
SCSS
$custom: #999226;
$custom-light: #bab169;
$custom-dark: #000000;
JSON
{
  "hex": "#999226",
  "rgb": {
    "r": 153,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 56.348,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64663,
    "c": 0.12427,
    "h": 105.6
  },
  "luminance": 0.2747
}

Semantic roles & 50–950 ramp

primary
#999226
secondary
#5E63BD
accent
#4EE344
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #999226

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

Preview Lab → · Contrast checker → · Palette generator →

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