#999A2F#999A2F

#999A2F is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.5% C 0.127 H 109.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#999A2F
RGBrgb(153, 154, 47)
HSLhsl(61, 53%, 39%)
HSVhsv(61, 69%, 60%)
CMYKcmyk(0.6%, 0%, 69.5%, 39.6%)
CIE-LABlab(61.73, -13.81, 53.26)
CIE-LCHlch(61.73, 55.02, 104.54°)
OKLaboklab(66.54% -0.0431 0.1189)
OKLCHoklch(66.54% 0.127 109.9)
XYZxyz(25.2064, 30.0894, 7.1688)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999A2F #302F9A
analogous
#9A662F #999A2F #649A2F
triadic
#999A2F #2F999A #9A2F99
tetradic
#999A2F #2F9A66 #302F9A #9A2F64
square
#999A2F #2F9A66 #302F9A #9A2F64
split-complementary
#999A2F #2F649A #662F9A
monochromatic
#3C3C12 #6A6B21 #999A2F #C4C541 #D2D370

Accessibility & contrast

On white

2.99
#999A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#999A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999A2F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999A2F#FFFFFF#000000##000000
##999A2F1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A79737
Tritanopia (blue-blind)
#A49085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #999a2f;
/* rgb */ color: rgb(153, 154, 47);
/* oklch */ color: oklch(66.5% 0.127 109.9);
Tailwind
colors: {
  custom: {
    50: '#bab76e',
    500: '#999a2f',
    950: '#000000',
  },
}
SCSS
$custom: #999a2f;
$custom-light: #bab76e;
$custom-dark: #000000;
JSON
{
  "hex": "#999a2f",
  "rgb": {
    "r": 153,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 60.561,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66535,
    "c": 0.1265,
    "h": 109.9
  },
  "luminance": 0.30089
}

Semantic roles & 50–950 ramp

primary
#999A2F
secondary
#6B6ABB
accent
#4BDD4D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #999A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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