#99A42F#99A42F

#99A42F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.138 H 114.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#99A42F
RGBrgb(153, 164, 47)
HSLhsl(66, 55%, 41%)
HSVhsv(66, 71%, 64%)
CMYKcmyk(6.7%, 0%, 71.3%, 35.7%)
CIE-LABlab(64.59, -18.97, 56.09)
CIE-LCHlch(64.59, 59.21, 108.69°)
OKLaboklab(68.82% -0.0575 0.1249)
OKLCHoklch(68.82% 0.138 114.7)
XYZxyz(26.9262, 33.5289, 7.7421)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99A42F #3A2FA4
analogous
#A4752F #99A42F #5FA42F
triadic
#99A42F #2F99A4 #A42F99
tetradic
#99A42F #2FA475 #3A2FA4 #A42F5F
square
#99A42F #2FA475 #3A2FA4 #A42F5F
split-complementary
#99A42F #2F5FA4 #752FA4
monochromatic
#404514 #6D7421 #99A42F #BECA46 #CED876

Accessibility & contrast

On white

2.73
#99A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#99A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99A42F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99A42F#FFFFFF#000000##000000
##99A42F1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#A39A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #99a42f;
/* rgb */ color: rgb(153, 164, 47);
/* oklch */ color: oklch(68.8% 0.138 114.7);
Tailwind
colors: {
  custom: {
    50: '#babe6f',
    500: '#99a42f',
    950: '#000000',
  },
}
SCSS
$custom: #99a42f;
$custom-light: #babe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#99a42f",
  "rgb": {
    "r": 153,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 65.641,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6882,
    "c": 0.1375,
    "h": 114.7
  },
  "luminance": 0.33528
}

Semantic roles & 50–950 ramp

primary
#99A42F
secondary
#776FC0
accent
#49DF57
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #99A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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