#977E27#977E27

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

Color values

HEX#977E27
RGBrgb(151, 126, 39)
HSLhsl(47, 59%, 37%)
HSVhsv(47, 74%, 59%)
CMYKcmyk(0%, 16.6%, 74.2%, 40.8%)
CIE-LABlab(53.65, 0.07, 48.41)
CIE-LCHlch(53.65, 48.41, 89.92°)
OKLaboklab(60.06% -0.0046 0.1073)
OKLCHoklch(60.06% 0.107 92.4)
XYZxyz(20.5907, 21.6487, 5.0131)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977E27 #274097
analogous
#974627 #977E27 #789727
triadic
#977E27 #27977E #7E2797
tetradic
#977E27 #279746 #274097 #972778
square
#977E27 #279746 #274097 #972778
split-complementary
#977E27 #277897 #462797
monochromatic
#362D0E #66551A #977E27 #C8A734 #D6BC62

Accessibility & contrast

On white

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

On black

5.33
#977E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977E27
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977E27#FFFFFF#000000##000000
##977E271.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #977e27;
/* rgb */ color: rgb(151, 126, 39);
/* oklch */ color: oklch(60.1% 0.107 92.4);
Tailwind
colors: {
  custom: {
    50: '#b9a367',
    500: '#977e27',
    950: '#000000',
  },
}
SCSS
$custom: #977e27;
$custom-light: #b9a367;
$custom-dark: #000000;
JSON
{
  "hex": "#977e27",
  "rgb": {
    "r": 151,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 46.607,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60055,
    "c": 0.10736,
    "h": 92.4
  },
  "luminance": 0.21648
}

Semantic roles & 50–950 ramp

primary
#977E27
secondary
#5E73BC
accent
#69E246
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #977E27

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

Preview Lab → · Contrast checker → · Palette generator →

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