#977828#977828

#977828 is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.8% C 0.103 H 87.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#977828
RGBrgb(151, 120, 40)
HSLhsl(43, 58%, 37%)
HSVhsv(43, 74%, 59%)
CMYKcmyk(0%, 20.5%, 73.5%, 40.8%)
CIE-LABlab(52.03, 3.50, 46.37)
CIE-LCHlch(52.03, 46.50, 85.68°)
OKLaboklab(58.78% 0.0054 0.1032)
OKLCHoklch(58.78% 0.103 87)
XYZxyz(19.8631, 20.1668, 4.8534)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#977828 #284797
analogous
#974028 #977828 #7F9728
triadic
#977828 #289778 #782897
tetradic
#977828 #289740 #284797 #97287F
square
#977828 #289740 #284797 #97287F
split-complementary
#977828 #287F97 #402897
monochromatic
#362B0E #67521B #977828 #C79E35 #D6B664

Accessibility & contrast

On white

4.17
#977828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#977828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #977828
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##977828#FFFFFF#000000##000000
##9778281.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771D
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#A46D68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #977828;
/* rgb */ color: rgb(151, 120, 40);
/* oklch */ color: oklch(58.8% 0.103 87.0);
Tailwind
colors: {
  custom: {
    50: '#b99e67',
    500: '#977828',
    950: '#000000',
  },
}
SCSS
$custom: #977828;
$custom-light: #b99e67;
$custom-dark: #000000;
JSON
{
  "hex": "#977828",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 43.243,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.10329,
    "h": 87
  },
  "luminance": 0.20165
}

Semantic roles & 50–950 ramp

primary
#977828
secondary
#5F79BC
accent
#72E146
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #977828

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

Preview Lab → · Contrast checker → · Palette generator →

#977828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva