#999231#999231

#999231 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 64.7% C 0.117 H 105.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#999231
RGBrgb(153, 146, 49)
HSLhsl(56, 51%, 40%)
HSVhsv(56, 68%, 60%)
CMYKcmyk(0%, 4.6%, 68%, 40%)
CIE-LABlab(59.48, -9.45, 50.17)
CIE-LCHlch(59.48, 51.05, 100.67°)
OKLaboklab(64.75% -0.0306 0.1128)
OKLCHoklch(64.75% 0.117 105.2)
XYZxyz(23.9710, 27.5527, 6.9607)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999231 #313899
analogous
#995E31 #999231 #6C9931
triadic
#999231 #319992 #923199
tetradic
#999231 #31995E #313899 #99316C
square
#999231 #31995E #313899 #99316C
split-complementary
#999231 #316C99 #5E3199
monochromatic
#3C3A13 #6B6622 #999231 #C3BB44 #D2CC72

Accessibility & contrast

On white

3.23
#999231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#999231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999231
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999231#FFFFFF#000000##000000
##9992311.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D24
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#A4887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #999231;
/* rgb */ color: rgb(153, 146, 49);
/* oklch */ color: oklch(64.7% 0.117 105.2);
Tailwind
colors: {
  custom: {
    50: '#bab16f',
    500: '#999231',
    950: '#000000',
  },
}
SCSS
$custom: #999231;
$custom-light: #bab16f;
$custom-dark: #000000;
JSON
{
  "hex": "#999231",
  "rgb": {
    "r": 153,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 55.962,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.11685,
    "h": 105.2
  },
  "luminance": 0.27552
}

Semantic roles & 50–950 ramp

primary
#999231
secondary
#6C71BA
accent
#56DB4D
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #999231

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

Preview Lab → · Contrast checker → · Palette generator →

#999231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva