#977E23#977E23

#977E23 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.110 H 92.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#977E23
RGBrgb(151, 126, 35)
HSLhsl(47, 62%, 36%)
HSVhsv(47, 77%, 59%)
CMYKcmyk(0%, 16.6%, 76.8%, 40.8%)
CIE-LABlab(53.63, -0.12, 49.97)
CIE-LCHlch(53.63, 49.97, 90.14°)
OKLaboklab(60.02% -0.0056 0.1098)
OKLCHoklch(60.02% 0.11 92.9)
XYZxyz(20.5279, 21.6236, 4.6823)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E23 #233C97
analogous
#974423 #977E23 #769723
triadic
#977E23 #23977E #7E2397
tetradic
#977E23 #239744 #233C97 #972376
square
#977E23 #239744 #233C97 #972376
split-complementary
#977E23 #237697 #442397
monochromatic
#342B0C #655517 #977E23 #C9A72F #D9BE5B

Accessibility & contrast

On white

3.94
#977E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#977E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977E23
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977E23#FFFFFF#000000##000000
##977E231.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#A4736C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #977e23;
/* rgb */ color: rgb(151, 126, 35);
/* oklch */ color: oklch(60.0% 0.110 92.9);
Tailwind
colors: {
  custom: {
    50: '#b9a365',
    500: '#977e23',
    950: '#000000',
  },
}
SCSS
$custom: #977e23;
$custom-light: #b9a365;
$custom-dark: #000000;
JSON
{
  "hex": "#977e23",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 47.069,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.10991,
    "h": 92.9
  },
  "luminance": 0.21622
}

Semantic roles & 50–950 ramp

primary
#977E23
secondary
#586EBE
accent
#66E542
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977E23

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

Preview Lab → · Contrast checker → · Palette generator →

#977E23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva