#99A42B#99A42B

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

Color values

HEX#99A42B
RGBrgb(153, 164, 43)
HSLhsl(65, 58%, 41%)
HSVhsv(65, 74%, 64%)
CMYKcmyk(6.7%, 0%, 73.8%, 35.7%)
CIE-LABlab(64.56, -19.18, 57.52)
CIE-LCHlch(64.56, 60.63, 108.44°)
OKLaboklab(68.79% -0.0585 0.1272)
OKLCHoklch(68.79% 0.14 114.7)
XYZxyz(26.8491, 33.4981, 7.3364)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99A42B #362BA4
analogous
#A4732B #99A42B #5CA42B
triadic
#99A42B #2B99A4 #A42B99
tetradic
#99A42B #2BA473 #362BA4 #A42B5C
square
#99A42B #2BA473 #362BA4 #A42B5C
split-complementary
#99A42B #2B5CA4 #732BA4
monochromatic
#3F4312 #6C741E #99A42B #C0CD3F #D0D970

Accessibility & contrast

On white

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

On black

7.70
#99A42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #99A42B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99A42B#FFFFFF#000000##000000
##99A42B1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #99a42b;
/* rgb */ color: rgb(153, 164, 43);
/* oklch */ color: oklch(68.8% 0.140 114.7);
Tailwind
colors: {
  custom: {
    50: '#babe6d',
    500: '#99a42b',
    950: '#000000',
  },
}
SCSS
$custom: #99a42b;
$custom-light: #babe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#99a42b",
  "rgb": {
    "r": 153,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 65.455,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68793,
    "c": 0.14001,
    "h": 114.7
  },
  "luminance": 0.33498
}

Semantic roles & 50–950 ramp

primary
#99A42B
secondary
#726AC1
accent
#46E254
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #99A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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