#999E2B#999E2B

#999E2B is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.4% C 0.133 H 112.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#999E2B
RGBrgb(153, 158, 43)
HSLhsl(63, 57%, 39%)
HSVhsv(63, 73%, 62%)
CMYKcmyk(3.2%, 0%, 72.8%, 38%)
CIE-LABlab(62.84, -16.11, 55.87)
CIE-LCHlch(62.84, 58.14, 106.08°)
OKLaboklab(67.42% -0.0499 0.1237)
OKLCHoklch(67.42% 0.133 112)
XYZxyz(25.8006, 31.4011, 6.9869)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999E2B #302B9E
analogous
#9E6A2B #999E2B #5F9E2B
triadic
#999E2B #2B999E #9E2B99
tetradic
#999E2B #2B9E6A #302B9E #9E2B5F
square
#999E2B #2B9E6A #302B9E #9E2B5F
split-complementary
#999E2B #2B5F9E #6A2B9E
monochromatic
#3C3E11 #6A6E1E #999E2B #C4CA3C #D2D76C

Accessibility & contrast

On white

2.88
#999E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#999E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999E2B
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999E2B#FFFFFF#000000##000000
##999E2B1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9715
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#A49488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #999e2b;
/* rgb */ color: rgb(153, 158, 43);
/* oklch */ color: oklch(67.4% 0.133 112.0);
Tailwind
colors: {
  custom: {
    50: '#baba6d',
    500: '#999e2b',
    950: '#000000',
  },
}
SCSS
$custom: #999e2b;
$custom-light: #baba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#999e2b",
  "rgb": {
    "r": 153,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 62.609,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67417,
    "c": 0.13342,
    "h": 112
  },
  "luminance": 0.314
}

Semantic roles & 50–950 ramp

primary
#999E2B
secondary
#6B67BE
accent
#47E04E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #999E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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