#999D28#999D28

#999D28 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.2% C 0.134 H 111.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#999D28
RGBrgb(153, 157, 40)
HSLhsl(62, 59%, 39%)
HSVhsv(62, 75%, 62%)
CMYKcmyk(2.5%, 0%, 74.5%, 38.4%)
CIE-LABlab(62.54, -15.73, 56.65)
CIE-LCHlch(62.54, 58.79, 105.52°)
OKLaboklab(67.17% -0.0492 0.1248)
OKLCHoklch(67.17% 0.134 111.5)
XYZxyz(25.5777, 31.0401, 6.6510)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999D28 #2C289D
analogous
#9D6628 #999D28 #5E9D28
triadic
#999D28 #28999D #9D2899
tetradic
#999D28 #289D66 #2C289D #9D285E
square
#999D28 #289D66 #2C289D #9D285E
split-complementary
#999D28 #285E9D #66289D
monochromatic
#3A3B0F #696C1C #999D28 #C7CC36 #D4D867

Accessibility & contrast

On white

2.91
#999D28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#999D28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999D28
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999D28#FFFFFF#000000##000000
##999D281.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960F
Deuteranopia (green-blind)
#AA9931
Tritanopia (blue-blind)
#A49387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #999d28;
/* rgb */ color: rgb(153, 157, 40);
/* oklch */ color: oklch(67.2% 0.134 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96b',
    500: '#999d28',
    950: '#000000',
  },
}
SCSS
$custom: #999d28;
$custom-light: #bab96b;
$custom-dark: #000000;
JSON
{
  "hex": "#999d28",
  "rgb": {
    "r": 153,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 62.051,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.13416,
    "h": 111.5
  },
  "luminance": 0.31039
}

Semantic roles & 50–950 ramp

primary
#999D28
secondary
#6662BE
accent
#45E34B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #999D28

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

Preview Lab → · Contrast checker → · Palette generator →

#999D28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva