#999F2A#999F2A

#999F2A 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#999F2A
RGBrgb(153, 159, 42)
HSLhsl(63, 58%, 39%)
HSVhsv(63, 74%, 62%)
CMYKcmyk(3.8%, 0%, 73.6%, 37.6%)
CIE-LABlab(63.12, -16.67, 56.50)
CIE-LCHlch(63.12, 58.91, 106.44°)
OKLaboklab(67.64% -0.0516 0.1249)
OKLCHoklch(67.64% 0.135 112.4)
XYZxyz(25.9537, 31.7364, 6.9486)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999F2A #302A9F
analogous
#9F6B2A #999F2A #5F9F2A
triadic
#999F2A #2A999F #9F2A99
tetradic
#999F2A #2A9F6B #302A9F #9F2A5F
square
#999F2A #2A9F6B #302A9F #9F2A5F
split-complementary
#999F2A #2A5F9F #6B2A9F
monochromatic
#3C3E10 #6A6F1D #999F2A #C4CB3B #D2D86B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##999F2A#FFFFFF#000000##000000
##999F2A1.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)
#AB9713
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#A49589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #999f2a;
/* rgb */ color: rgb(153, 159, 42);
/* oklch */ color: oklch(67.6% 0.135 112.4);
Tailwind
colors: {
  custom: {
    50: '#babb6c',
    500: '#999f2a',
    950: '#000000',
  },
}
SCSS
$custom: #999f2a;
$custom-light: #babb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#999f2a",
  "rgb": {
    "r": 153,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 63.077,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67639,
    "c": 0.13512,
    "h": 112.4
  },
  "luminance": 0.31736
}

Semantic roles & 50–950 ramp

primary
#999F2A
secondary
#6B66BF
accent
#46E14E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #999F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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