#988231#988231

#988231 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.103 H 93.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#988231
RGBrgb(152, 130, 49)
HSLhsl(47, 51%, 39%)
HSVhsv(47, 68%, 60%)
CMYKcmyk(0%, 14.5%, 67.8%, 40.4%)
CIE-LABlab(54.93, -1.15, 45.41)
CIE-LCHlch(54.93, 45.42, 91.45°)
OKLaboklab(61.11% -0.0069 0.1027)
OKLCHoklch(61.11% 0.103 93.8)
XYZxyz(21.4869, 22.8636, 6.1865)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988231 #314798
analogous
#984E31 #988231 #7B9831
triadic
#988231 #319882 #823198
tetradic
#988231 #31984E #314798 #98317B
square
#988231 #31984E #314798 #98317B
split-complementary
#988231 #317B98 #4E3198
monochromatic
#3B3313 #6A5A22 #988231 #C3A744 #D2BD72

Accessibility & contrast

On white

3.77
#988231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#988231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988231
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988231#FFFFFF#000000##000000
##9882311.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8027
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#A47871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #988231;
/* rgb */ color: rgb(152, 130, 49);
/* oklch */ color: oklch(61.1% 0.103 93.8);
Tailwind
colors: {
  custom: {
    50: '#b9a66d',
    500: '#988231',
    950: '#000000',
  },
}
SCSS
$custom: #988231;
$custom-light: #b9a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#988231",
  "rgb": {
    "r": 152,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 47.184,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.10296,
    "h": 93.8
  },
  "luminance": 0.22862
}

Semantic roles & 50–950 ramp

primary
#988231
secondary
#6B7CB9
accent
#6BDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #988231

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

Preview Lab → · Contrast checker → · Palette generator →

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