#997E29#997E29

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

Color values

HEX#997E29
RGBrgb(153, 126, 41)
HSLhsl(46, 58%, 38%)
HSVhsv(46, 73%, 60%)
CMYKcmyk(0%, 17.6%, 73.2%, 40%)
CIE-LABlab(53.87, 1.09, 47.86)
CIE-LCHlch(53.87, 47.88, 88.70°)
OKLaboklab(60.28% -0.0015 0.1064)
OKLCHoklch(60.28% 0.106 90.8)
XYZxyz(20.9991, 21.8554, 5.2099)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997E29 #294499
analogous
#994629 #997E29 #7C9929
triadic
#997E29 #29997E #7E2999
tetradic
#997E29 #299946 #294499 #99297C
square
#997E29 #299946 #294499 #99297C
split-complementary
#997E29 #297C99 #462999
monochromatic
#382F0F #69561C #997E29 #C9A636 #D6BB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997E29#FFFFFF#000000##000000
##997E291.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)
#8C7C1D
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#A6736D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #997e29;
/* rgb */ color: rgb(153, 126, 41);
/* oklch */ color: oklch(60.3% 0.106 90.8);
Tailwind
colors: {
  custom: {
    50: '#bba368',
    500: '#997e29',
    950: '#000000',
  },
}
SCSS
$custom: #997e29;
$custom-light: #bba368;
$custom-dark: #000000;
JSON
{
  "hex": "#997e29",
  "rgb": {
    "r": 153,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 45.536,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.10643,
    "h": 90.8
  },
  "luminance": 0.21854
}

Semantic roles & 50–950 ramp

primary
#997E29
secondary
#6277BC
accent
#6CE147
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997E29

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

Preview Lab → · Contrast checker → · Palette generator →

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