#999229#999229

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

Color values

HEX#999229
RGBrgb(153, 146, 41)
HSLhsl(56, 58%, 38%)
HSVhsv(56, 73%, 60%)
CMYKcmyk(0%, 4.6%, 73.2%, 40%)
CIE-LABlab(59.43, -9.89, 53.31)
CIE-LCHlch(59.43, 54.22, 100.51°)
OKLaboklab(64.68% -0.0327 0.118)
OKLCHoklch(64.68% 0.122 105.5)
XYZxyz(23.8170, 27.4911, 6.1491)
Luminance0.2749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999229 #293099
analogous
#995A29 #999229 #689929
triadic
#999229 #299992 #922999
tetradic
#999229 #29995A #293099 #992968
square
#999229 #29995A #293099 #992968
split-complementary
#999229 #296899 #5A2999
monochromatic
#38360F #69641C #999229 #C9C036 #D6CF66

Accessibility & contrast

On white

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

On black

6.50
#999229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999229
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999229#FFFFFF#000000##000000
##9992291.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D16
Deuteranopia (green-blind)
#A29130
Tritanopia (blue-blind)
#A5887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #999229;
/* rgb */ color: rgb(153, 146, 41);
/* oklch */ color: oklch(64.7% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#bab16a',
    500: '#999229',
    950: '#000000',
  },
}
SCSS
$custom: #999229;
$custom-light: #bab16a;
$custom-dark: #000000;
JSON
{
  "hex": "#999229",
  "rgb": {
    "r": 153,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 56.25,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64683,
    "c": 0.12241,
    "h": 105.5
  },
  "luminance": 0.2749
}

Semantic roles & 50–950 ramp

primary
#999229
secondary
#6267BC
accent
#50E147
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #999229

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

Preview Lab → · Contrast checker → · Palette generator →

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