#999F2B#999F2B

#999F2B is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.6% C 0.135 H 112.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#999F2B
RGBrgb(153, 159, 43)
HSLhsl(63, 57%, 40%)
HSVhsv(63, 73%, 62%)
CMYKcmyk(3.8%, 0%, 73%, 37.6%)
CIE-LABlab(63.13, -16.62, 56.14)
CIE-LCHlch(63.13, 58.55, 106.49°)
OKLaboklab(67.65% -0.0514 0.1243)
OKLCHoklch(67.65% 0.135 112.4)
XYZxyz(25.9719, 31.7436, 7.0440)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999F2B #312B9F
analogous
#9F6B2B #999F2B #5F9F2B
triadic
#999F2B #2B999F #9F2B99
tetradic
#999F2B #2B9F6B #312B9F #9F2B5F
square
#999F2B #2B9F6B #312B9F #9F2B5F
split-complementary
#999F2B #2B5F9F #6B2B9F
monochromatic
#3C3F11 #6B6F1E #999F2B #C3CA3D #D2D76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##999F2B#FFFFFF#000000##000000
##999F2B1.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)
#AB9715
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#A49589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #999f2b;
/* rgb */ color: rgb(153, 159, 43);
/* oklch */ color: oklch(67.6% 0.135 112.4);
Tailwind
colors: {
  custom: {
    50: '#babb6d',
    500: '#999f2b',
    950: '#000000',
  },
}
SCSS
$custom: #999f2b;
$custom-light: #babb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#999f2b",
  "rgb": {
    "r": 153,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 63.103,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67645,
    "c": 0.1345,
    "h": 112.4
  },
  "luminance": 0.31743
}

Semantic roles & 50–950 ramp

primary
#999F2B
secondary
#6C67BE
accent
#47E14F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #999F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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