#988945#988945

#988945 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.090 H 97.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#988945
RGBrgb(152, 137, 69)
HSLhsl(49, 38%, 43%)
HSVhsv(49, 55%, 60%)
CMYKcmyk(0%, 9.9%, 54.6%, 40.4%)
CIE-LABlab(57.07, -3.53, 38.09)
CIE-LCHlch(57.07, 38.25, 95.29°)
OKLaboklab(62.88% -0.0112 0.0897)
OKLCHoklch(62.88% 0.09 97.1)
XYZxyz(22.9695, 24.9973, 9.2441)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988945 #455498
analogous
#985F45 #988945 #7D9845
triadic
#988945 #459889 #894598
tetradic
#988945 #45985F #455498 #98457D
square
#988945 #45985F #455498 #98457D
split-complementary
#988945 #457D98 #5F4598
monochromatic
#443D1F #6E6332 #988945 #B8A862 #CBC08C

Accessibility & contrast

On white

3.50
#988945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#988945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988945
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988945#FFFFFF#000000##000000
##9889451.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863F
Deuteranopia (green-blind)
#998B48
Tritanopia (blue-blind)
#A38079
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #988945;
/* rgb */ color: rgb(152, 137, 69);
/* oklch */ color: oklch(62.9% 0.090 97.1);
Tailwind
colors: {
  custom: {
    50: '#b8ab7b',
    500: '#988945',
    950: '#000000',
  },
}
SCSS
$custom: #988945;
$custom-light: #b8ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#988945",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 49.157,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.09043,
    "h": 97.1
  },
  "luminance": 0.24996
}

Semantic roles & 50–950 ramp

primary
#988945
secondary
#828CB6
accent
#6FCE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #988945

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

Preview Lab → · Contrast checker → · Palette generator →

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