#998232#998232

#998232 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.102 H 93.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#998232
RGBrgb(153, 130, 50)
HSLhsl(47, 51%, 40%)
HSVhsv(47, 67%, 60%)
CMYKcmyk(0%, 15%, 67.3%, 40%)
CIE-LABlab(55.04, -0.63, 45.10)
CIE-LCHlch(55.04, 45.10, 90.80°)
OKLaboklab(61.23% -0.0053 0.1022)
OKLCHoklch(61.23% 0.102 93)
XYZxyz(21.6963, 22.9690, 6.3077)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998232 #324999
analogous
#994F32 #998232 #7D9932
triadic
#998232 #329982 #823299
tetradic
#998232 #32994F #324999 #99327D
square
#998232 #32994F #324999 #99327D
split-complementary
#998232 #327D99 #4F3299
monochromatic
#3D3414 #6B5B23 #998232 #C2A746 #D2BD74

Accessibility & contrast

On white

3.75
#998232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#998232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998232
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998232#FFFFFF#000000##000000
##9982321.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#A57871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998232;
/* rgb */ color: rgb(153, 130, 50);
/* oklch */ color: oklch(61.2% 0.102 93.0);
Tailwind
colors: {
  custom: {
    50: '#baa66e',
    500: '#998232',
    950: '#000000',
  },
}
SCSS
$custom: #998232;
$custom-light: #baa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#998232",
  "rgb": {
    "r": 153,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 46.602,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61226,
    "c": 0.10234,
    "h": 93
  },
  "luminance": 0.22968
}

Semantic roles & 50–950 ramp

primary
#998232
secondary
#6D7EBA
accent
#6DDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998232

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

Preview Lab → · Contrast checker → · Palette generator →

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