#999B2F#999B2F

#999B2F is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.8% C 0.128 H 110.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#999B2F
RGBrgb(153, 155, 47)
HSLhsl(61, 53%, 40%)
HSVhsv(61, 70%, 61%)
CMYKcmyk(1.3%, 0%, 69.7%, 39.2%)
CIE-LABlab(62.02, -14.33, 53.54)
CIE-LCHlch(62.02, 55.43, 104.99°)
OKLaboklab(66.76% -0.0446 0.1195)
OKLCHoklch(66.76% 0.128 110.4)
XYZxyz(25.3721, 30.4209, 7.2241)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999B2F #312F9B
analogous
#9B672F #999B2F #639B2F
triadic
#999B2F #2F999B #9B2F99
tetradic
#999B2F #2F9B67 #312F9B #9B2F63
square
#999B2F #2F9B67 #312F9B #9B2F63
split-complementary
#999B2F #2F639B #672F9B
monochromatic
#3C3D13 #6B6C21 #999B2F #C3C642 #D2D471

Accessibility & contrast

On white

2.96
#999B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#999B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999B2F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999B2F#FFFFFF#000000##000000
##999B2F1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941E
Deuteranopia (green-blind)
#A89737
Tritanopia (blue-blind)
#A49186
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #999b2f;
/* rgb */ color: rgb(153, 155, 47);
/* oklch */ color: oklch(66.8% 0.128 110.4);
Tailwind
colors: {
  custom: {
    50: '#bab86f',
    500: '#999b2f',
    950: '#000000',
  },
}
SCSS
$custom: #999b2f;
$custom-light: #bab86f;
$custom-dark: #000000;
JSON
{
  "hex": "#999b2f",
  "rgb": {
    "r": 153,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 61.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66762,
    "c": 0.12757,
    "h": 110.4
  },
  "luminance": 0.3042
}

Semantic roles & 50–950 ramp

primary
#999B2F
secondary
#6C6ABB
accent
#4BDD4E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #999B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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