#997D28#997D28

#997D28 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.1% C 0.107 H 90.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#997D28
RGBrgb(153, 125, 40)
HSLhsl(45, 59%, 38%)
HSVhsv(45, 74%, 60%)
CMYKcmyk(0%, 18.3%, 73.9%, 40%)
CIE-LABlab(53.59, 1.60, 48.00)
CIE-LCHlch(53.59, 48.03, 88.09°)
OKLaboklab(60.06% -0.0002 0.1065)
OKLCHoklch(60.06% 0.107 90.1)
XYZxyz(20.8547, 21.5940, 5.0767)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D28 #284499
analogous
#994528 #997D28 #7C9928
triadic
#997D28 #28997D #7D2899
tetradic
#997D28 #289945 #284499 #99287C
square
#997D28 #289945 #284499 #99287C
split-complementary
#997D28 #287C99 #452899
monochromatic
#382E0F #68551B #997D28 #CAA535 #D7BA65

Accessibility & contrast

On white

3.95
#997D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#997D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997D28
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997D28#FFFFFF#000000##000000
##997D281.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C1B
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#A6726C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #997d28;
/* rgb */ color: rgb(153, 125, 40);
/* oklch */ color: oklch(60.1% 0.107 90.1);
Tailwind
colors: {
  custom: {
    50: '#bba268',
    500: '#997d28',
    950: '#000000',
  },
}
SCSS
$custom: #997d28;
$custom-light: #bba268;
$custom-dark: #000000;
JSON
{
  "hex": "#997d28",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 45.133,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.10653,
    "h": 90.1
  },
  "luminance": 0.21593
}

Semantic roles & 50–950 ramp

primary
#997D28
secondary
#6077BD
accent
#6DE246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997D28

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

Preview Lab → · Contrast checker → · Palette generator →

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