#997E27#997E27

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

Color values

HEX#997E27
RGBrgb(153, 126, 39)
HSLhsl(46, 59%, 38%)
HSVhsv(46, 75%, 60%)
CMYKcmyk(0%, 17.6%, 74.5%, 40%)
CIE-LABlab(53.86, 0.99, 48.68)
CIE-LCHlch(53.86, 48.69, 88.84°)
OKLaboklab(60.27% -0.002 0.1078)
OKLCHoklch(60.27% 0.108 91.1)
XYZxyz(20.9651, 21.8418, 5.0307)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E27 #274299
analogous
#994527 #997E27 #7B9927
triadic
#997E27 #27997E #7E2799
tetradic
#997E27 #279945 #274299 #99277B
square
#997E27 #279945 #274299 #99277B
split-complementary
#997E27 #277B99 #452799
monochromatic
#372E0E #68561B #997E27 #CAA633 #D7BC63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997E27#FFFFFF#000000##000000
##997E271.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)
#8C7C1A
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e27;
/* rgb */ color: rgb(153, 126, 39);
/* oklch */ color: oklch(60.3% 0.108 91.1);
Tailwind
colors: {
  custom: {
    50: '#bba367',
    500: '#997e27',
    950: '#000000',
  },
}
SCSS
$custom: #997e27;
$custom-light: #bba367;
$custom-dark: #000000;
JSON
{
  "hex": "#997e27",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 45.789,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.10778,
    "h": 91.1
  },
  "luminance": 0.2184
}

Semantic roles & 50–950 ramp

primary
#997E27
secondary
#5F75BD
accent
#6BE345
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997E27

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

Preview Lab → · Contrast checker → · Palette generator →

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