#998128#998128

#998128 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.109 H 93.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#998128
RGBrgb(153, 129, 40)
HSLhsl(47, 59%, 38%)
HSVhsv(47, 74%, 60%)
CMYKcmyk(0%, 15.7%, 73.9%, 40%)
CIE-LABlab(54.69, -0.64, 49.08)
CIE-LCHlch(54.69, 49.09, 90.75°)
OKLaboklab(60.92% -0.0066 0.1088)
OKLCHoklch(60.92% 0.109 93.5)
XYZxyz(21.3713, 22.6272, 5.2489)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998128 #284099
analogous
#994928 #998128 #789928
triadic
#998128 #289981 #812899
tetradic
#998128 #289949 #284099 #992878
square
#998128 #289949 #284099 #992878
split-complementary
#998128 #287899 #492899
monochromatic
#382F0F #68581B #998128 #CAAA35 #D7BE65

Accessibility & contrast

On white

3.80
#998128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#998128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998128
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998128#FFFFFF#000000##000000
##9981281.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1A
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #998128;
/* rgb */ color: rgb(153, 129, 40);
/* oklch */ color: oklch(60.9% 0.109 93.5);
Tailwind
colors: {
  custom: {
    50: '#bba568',
    500: '#998128',
    950: '#000000',
  },
}
SCSS
$custom: #998128;
$custom-light: #bba568;
$custom-dark: #000000;
JSON
{
  "hex": "#998128",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 47.257,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60921,
    "c": 0.10901,
    "h": 93.5
  },
  "luminance": 0.22626
}

Semantic roles & 50–950 ramp

primary
#998128
secondary
#6074BD
accent
#67E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998128

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

Preview Lab → · Contrast checker → · Palette generator →

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