#997E28#997E28

#997E28 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.3% C 0.107 H 91.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#997E28
RGBrgb(153, 126, 40)
HSLhsl(46, 59%, 38%)
HSVhsv(46, 74%, 60%)
CMYKcmyk(0%, 17.6%, 73.9%, 40%)
CIE-LABlab(53.87, 1.04, 48.27)
CIE-LCHlch(53.87, 48.29, 88.77°)
OKLaboklab(60.27% -0.0018 0.1071)
OKLCHoklch(60.27% 0.107 91)
XYZxyz(20.9819, 21.8485, 5.1191)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E28 #284399
analogous
#994628 #997E28 #7B9928
triadic
#997E28 #28997E #7E2899
tetradic
#997E28 #289946 #284399 #99287B
square
#997E28 #289946 #284399 #99287B
split-complementary
#997E28 #287B99 #462899
monochromatic
#382E0F #68561B #997E28 #CAA635 #D7BB65

Accessibility & contrast

On white

3.91
#997E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#997E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997E28
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997E28#FFFFFF#000000##000000
##997E281.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1B
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e28;
/* rgb */ color: rgb(153, 126, 40);
/* oklch */ color: oklch(60.3% 0.107 91.0);
Tailwind
colors: {
  custom: {
    50: '#bba368',
    500: '#997e28',
    950: '#000000',
  },
}
SCSS
$custom: #997e28;
$custom-light: #bba368;
$custom-dark: #000000;
JSON
{
  "hex": "#997e28",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 45.664,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.10711,
    "h": 91
  },
  "luminance": 0.21847
}

Semantic roles & 50–950 ramp

primary
#997E28
secondary
#6076BD
accent
#6BE246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997E28

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

Preview Lab → · Contrast checker → · Palette generator →

#997E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva