#998127#998127

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

Color values

HEX#998127
RGBrgb(153, 129, 39)
HSLhsl(47, 59%, 38%)
HSVhsv(47, 75%, 60%)
CMYKcmyk(0%, 15.7%, 74.5%, 40%)
CIE-LABlab(54.68, -0.69, 49.48)
CIE-LCHlch(54.68, 49.49, 90.80°)
OKLaboklab(60.91% -0.0068 0.1095)
OKLCHoklch(60.91% 0.11 93.6)
XYZxyz(21.3545, 22.6205, 5.1605)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998127 #273F99
analogous
#994827 #998127 #789927
triadic
#998127 #279981 #812799
tetradic
#998127 #279948 #273F99 #992778
square
#998127 #279948 #273F99 #992778
split-complementary
#998127 #277899 #482799
monochromatic
#372F0E #68581B #998127 #CAAA33 #D7BF63

Accessibility & contrast

On white

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

On black

5.52
#998127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998127
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998127#FFFFFF#000000##000000
##9981271.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998127;
/* rgb */ color: rgb(153, 129, 39);
/* oklch */ color: oklch(60.9% 0.110 93.6);
Tailwind
colors: {
  custom: {
    50: '#bba567',
    500: '#998127',
    950: '#000000',
  },
}
SCSS
$custom: #998127;
$custom-light: #bba567;
$custom-dark: #000000;
JSON
{
  "hex": "#998127",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 47.368,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.10967,
    "h": 93.6
  },
  "luminance": 0.22619
}

Semantic roles & 50–950 ramp

primary
#998127
secondary
#5F73BD
accent
#66E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998127

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

Preview Lab → · Contrast checker → · Palette generator →

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