#998A27#998A27

#998A27 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.116 H 100.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#998A27
RGBrgb(153, 138, 39)
HSLhsl(52, 59%, 38%)
HSVhsv(52, 75%, 60%)
CMYKcmyk(0%, 9.8%, 74.5%, 40%)
CIE-LABlab(57.17, -5.66, 51.90)
CIE-LCHlch(57.17, 52.20, 96.22°)
OKLaboklab(62.89% -0.021 0.1146)
OKLCHoklch(62.89% 0.116 100.4)
XYZxyz(22.5926, 25.0968, 5.5732)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A27 #273699
analogous
#995127 #998A27 #6F9927
triadic
#998A27 #27998A #8A2799
tetradic
#998A27 #279951 #273699 #99276F
square
#998A27 #279951 #273699 #99276F
split-complementary
#998A27 #276F99 #512799
monochromatic
#37320E #685E1B #998A27 #CAB633 #D7C863

Accessibility & contrast

On white

3.49
#998A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#998A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A27
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A27#FFFFFF#000000##000000
##998A271.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988616
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#A58077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998a27;
/* rgb */ color: rgb(153, 138, 39);
/* oklch */ color: oklch(62.9% 0.116 100.4);
Tailwind
colors: {
  custom: {
    50: '#bbab68',
    500: '#998a27',
    950: '#000000',
  },
}
SCSS
$custom: #998a27;
$custom-light: #bbab68;
$custom-dark: #000000;
JSON
{
  "hex": "#998a27",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 52.105,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62885,
    "c": 0.11648,
    "h": 100.4
  },
  "luminance": 0.25096
}

Semantic roles & 50–950 ramp

primary
#998A27
secondary
#5F6BBD
accent
#5AE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998A27

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

Preview Lab → · Contrast checker → · Palette generator →

#998A27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva