#99A51F#99A51F

#99A51F is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.147 H 115.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#99A51F
RGBrgb(153, 165, 31)
HSLhsl(65, 68%, 38%)
HSVhsv(65, 81%, 65%)
CMYKcmyk(7.3%, 0%, 81.2%, 35.3%)
CIE-LABlab(64.79, -20.20, 61.52)
CIE-LCHlch(64.79, 64.75, 108.17°)
OKLaboklab(68.96% -0.0623 0.1336)
OKLCHoklch(68.96% 0.147 115)
XYZxyz(26.8401, 33.7820, 6.4027)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99A51F #2B1FA5
analogous
#A56E1F #99A51F #56A51F
triadic
#99A51F #1F99A5 #A51F99
tetradic
#99A51F #1FA56E #2B1FA5 #A51F56
square
#99A51F #1FA56E #2B1FA5 #A51F56
split-complementary
#99A51F #1F56A5 #6E1FA5
monochromatic
#393E0C #697115 #99A51F #C8D72A #D5E15E

Accessibility & contrast

On white

2.71
#99A51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#99A51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99A51F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99A51F#FFFFFF#000000##000000
##99A51F1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B19E2C
Tritanopia (blue-blind)
#A39B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #99a51f;
/* rgb */ color: rgb(153, 165, 31);
/* oklch */ color: oklch(69.0% 0.147 115.0);
Tailwind
colors: {
  custom: {
    50: '#bbbf68',
    500: '#99a51f',
    950: '#000000',
  },
}
SCSS
$custom: #99a51f;
$custom-light: #bbbf68;
$custom-dark: #000000;
JSON
{
  "hex": "#99a51f",
  "rgb": {
    "r": 153,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 65.373,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68956,
    "c": 0.14736,
    "h": 115
  },
  "luminance": 0.33782
}

Semantic roles & 50–950 ramp

primary
#99A51F
secondary
#645BC5
accent
#3DEB4C
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #99A51F

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

Preview Lab → · Contrast checker → · Palette generator →

#99A51F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva