#999F2F#999F2F

#999F2F is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.132 H 112.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#999F2F
RGBrgb(153, 159, 47)
HSLhsl(63, 54%, 40%)
HSVhsv(63, 70%, 62%)
CMYKcmyk(3.8%, 0%, 70.4%, 37.6%)
CIE-LABlab(63.16, -16.41, 54.68)
CIE-LCHlch(63.16, 57.09, 106.71°)
OKLaboklab(67.67% -0.0504 0.1219)
OKLCHoklch(67.67% 0.132 112.5)
XYZxyz(26.0489, 31.7744, 7.4496)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999F2F #352F9F
analogous
#9F6D2F #999F2F #619F2F
triadic
#999F2F #2F999F #9F2F99
tetradic
#999F2F #2F9F6D #352F9F #9F2F61
square
#999F2F #2F9F6D #352F9F #9F2F61
split-complementary
#999F2F #2F619F #6D2F9F
monochromatic
#3E4113 #6C7021 #999F2F #C1C844 #D0D673

Accessibility & contrast

On white

2.86
#999F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#999F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999F2F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999F2F#FFFFFF#000000##000000
##999F2F1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#A39589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #999f2f;
/* rgb */ color: rgb(153, 159, 47);
/* oklch */ color: oklch(67.7% 0.132 112.5);
Tailwind
colors: {
  custom: {
    50: '#babb6f',
    500: '#999f2f',
    950: '#000000',
  },
}
SCSS
$custom: #999f2f;
$custom-light: #babb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#999f2f",
  "rgb": {
    "r": 153,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 63.214,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.13192,
    "h": 112.5
  },
  "luminance": 0.31774
}

Semantic roles & 50–950 ramp

primary
#999F2F
secondary
#716DBD
accent
#4ADE52
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #999F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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