#998D27#998D27

#998D27 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.119 H 102.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#998D27
RGBrgb(153, 141, 39)
HSLhsl(54, 59%, 38%)
HSVhsv(54, 75%, 60%)
CMYKcmyk(0%, 7.8%, 74.5%, 40%)
CIE-LABlab(58.01, -7.29, 52.70)
CIE-LCHlch(58.01, 53.20, 97.88°)
OKLaboklab(63.55% -0.0256 0.1163)
OKLCHoklch(63.55% 0.119 102.4)
XYZxyz(23.0290, 25.9695, 5.7187)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D27 #273399
analogous
#995427 #998D27 #6C9927
triadic
#998D27 #27998D #8D2799
tetradic
#998D27 #279954 #273399 #99276C
square
#998D27 #279954 #273399 #99276C
split-complementary
#998D27 #276C99 #542799
monochromatic
#37330E #68601B #998D27 #CABA33 #D7CB63

Accessibility & contrast

On white

3.39
#998D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#998D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D27
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D27#FFFFFF#000000##000000
##998D271.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d27;
/* rgb */ color: rgb(153, 141, 39);
/* oklch */ color: oklch(63.6% 0.119 102.4);
Tailwind
colors: {
  custom: {
    50: '#baae69',
    500: '#998d27',
    950: '#000000',
  },
}
SCSS
$custom: #998d27;
$custom-light: #baae69;
$custom-dark: #000000;
JSON
{
  "hex": "#998d27",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 53.684,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63551,
    "c": 0.11906,
    "h": 102.4
  },
  "luminance": 0.25969
}

Semantic roles & 50–950 ramp

primary
#998D27
secondary
#5F69BD
accent
#56E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D27

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

Preview Lab → · Contrast checker → · Palette generator →

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