#999F2C#999F2C

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

Color values

HEX#999F2C
RGBrgb(153, 159, 44)
HSLhsl(63, 57%, 40%)
HSVhsv(63, 72%, 62%)
CMYKcmyk(3.8%, 0%, 72.3%, 37.6%)
CIE-LABlab(63.14, -16.57, 55.78)
CIE-LCHlch(63.14, 58.19, 106.54°)
OKLaboklab(67.65% -0.0511 0.1237)
OKLCHoklch(67.65% 0.134 112.5)
XYZxyz(25.9904, 31.7510, 7.1418)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999F2C #322C9F
analogous
#9F6B2C #999F2C #609F2C
triadic
#999F2C #2C999F #9F2C99
tetradic
#999F2C #2C9F6B #322C9F #9F2C60
square
#999F2C #2C9F6B #322C9F #9F2C60
split-complementary
#999F2C #2C609F #6B2C9F
monochromatic
#3D3F11 #6B6F1F #999F2C #C2CA3E #D2D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##999F2C#FFFFFF#000000##000000
##999F2C1.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)
#AB9717
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#A49589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #999f2c;
/* rgb */ color: rgb(153, 159, 44);
/* oklch */ color: oklch(67.7% 0.134 112.5);
Tailwind
colors: {
  custom: {
    50: '#babb6d',
    500: '#999f2c',
    950: '#000000',
  },
}
SCSS
$custom: #999f2c;
$custom-light: #babb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#999f2c",
  "rgb": {
    "r": 153,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 63.13,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67652,
    "c": 0.13388,
    "h": 112.5
  },
  "luminance": 0.3175
}

Semantic roles & 50–950 ramp

primary
#999F2C
secondary
#6D69BE
accent
#48E050
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #999F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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