#988029#988029

#988029 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.107 H 93.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#988029
RGBrgb(152, 128, 41)
HSLhsl(47, 58%, 38%)
HSVhsv(47, 73%, 60%)
CMYKcmyk(0%, 15.8%, 73%, 40.4%)
CIE-LABlab(54.32, -0.49, 48.27)
CIE-LCHlch(54.32, 48.27, 90.58°)
OKLaboklab(60.61% -0.006 0.1073)
OKLCHoklch(60.61% 0.108 93.2)
XYZxyz(21.0694, 22.2750, 5.2871)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988029 #294198
analogous
#984829 #988029 #789829
triadic
#988029 #299880 #802998
tetradic
#988029 #299848 #294198 #982978
square
#988029 #299848 #294198 #982978
split-complementary
#988029 #297898 #482998
monochromatic
#382F0F #68571C #988029 #C8A936 #D6BD66

Accessibility & contrast

On white

3.85
#988029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#988029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988029
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988029#FFFFFF#000000##000000
##9880291.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988029;
/* rgb */ color: rgb(152, 128, 41);
/* oklch */ color: oklch(60.6% 0.107 93.2);
Tailwind
colors: {
  custom: {
    50: '#baa468',
    500: '#988029',
    950: '#000000',
  },
}
SCSS
$custom: #988029;
$custom-light: #baa468;
$custom-dark: #000000;
JSON
{
  "hex": "#988029",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 47.027,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.1075,
    "h": 93.2
  },
  "luminance": 0.22274
}

Semantic roles & 50–950 ramp

primary
#988029
secondary
#6175BC
accent
#68E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988029

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

Preview Lab → · Contrast checker → · Palette generator →

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