#999A40#999A40

#999A40 is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.7% C 0.113 H 109.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#999A40
RGBrgb(153, 154, 64)
HSLhsl(61, 41%, 43%)
HSVhsv(61, 58%, 60%)
CMYKcmyk(0.6%, 0%, 58.4%, 39.6%)
CIE-LABlab(61.87, -12.68, 46.06)
CIE-LCHlch(61.87, 47.77, 105.39°)
OKLaboklab(66.69% -0.0381 0.1063)
OKLCHoklch(66.69% 0.113 109.7)
XYZxyz(25.6186, 30.2543, 9.3396)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999A40 #41409A
analogous
#9A6E40 #999A40 #6C9A40
triadic
#999A40 #40999A #9A4099
tetradic
#999A40 #409A6E #41409A #9A406C
square
#999A40 #409A6E #41409A #9A406C
split-complementary
#999A40 #406C9A #6E409A
monochromatic
#43441C #6E6F2E #999A40 #BABB5C #CCCD87

Accessibility & contrast

On white

2.98
#999A40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#999A40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999A40
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999A40#FFFFFF#000000##000000
##999A401.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59436
Deuteranopia (green-blind)
#A69745
Tritanopia (blue-blind)
#A39187
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #999a40;
/* rgb */ color: rgb(153, 154, 64);
/* oklch */ color: oklch(66.7% 0.113 109.7);
Tailwind
colors: {
  custom: {
    50: '#b9b778',
    500: '#999a40',
    950: '#000000',
  },
}
SCSS
$custom: #999a40;
$custom-light: #b9b778;
$custom-dark: #000000;
JSON
{
  "hex": "#999a40",
  "rgb": {
    "r": 153,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 60.667,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66693,
    "c": 0.11291,
    "h": 109.7
  },
  "luminance": 0.30254
}

Semantic roles & 50–950 ramp

primary
#999A40
secondary
#7F7EB8
accent
#57D158
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #999A40

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

Preview Lab → · Contrast checker → · Palette generator →

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