#999927#999927

#999927 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.3% C 0.131 H 109.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#999927
RGBrgb(153, 153, 39)
HSLhsl(60, 59%, 38%)
HSVhsv(60, 75%, 60%)
CMYKcmyk(0%, 0%, 74.5%, 40%)
CIE-LABlab(61.40, -13.69, 55.92)
CIE-LCHlch(61.40, 57.57, 103.76°)
OKLaboklab(66.25% -0.0436 0.1231)
OKLCHoklch(66.25% 0.131 109.5)
XYZxyz(24.8952, 29.7020, 6.3407)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999927 #272799
analogous
#996027 #999927 #609927
triadic
#999927 #279999 #992799
tetradic
#999927 #279960 #272799 #992760
square
#999927 #279960 #272799 #992760
split-complementary
#999927 #276099 #602799
monochromatic
#37370E #68681B #999927 #CACA33 #D7D763

Accessibility & contrast

On white

3.03
#999927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#999927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999927
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999927#FFFFFF#000000##000000
##9999271.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920F
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#A48F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #999927;
/* rgb */ color: rgb(153, 153, 39);
/* oklch */ color: oklch(66.3% 0.131 109.5);
Tailwind
colors: {
  custom: {
    50: '#bab66a',
    500: '#999927',
    950: '#000000',
  },
}
SCSS
$custom: #999927;
$custom-light: #bab66a;
$custom-dark: #000000;
JSON
{
  "hex": "#999927",
  "rgb": {
    "r": 153,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.13058,
    "h": 109.5
  },
  "luminance": 0.29701
}

Semantic roles & 50–950 ramp

primary
#999927
secondary
#5F5FBD
accent
#45E345
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #999927

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

Preview Lab → · Contrast checker → · Palette generator →

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