#987229#987229

#987229 is a mid, moderate orange. Relative luminance 0.189; OKLCH L 57.6% C 0.101 H 80.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#987229
RGBrgb(152, 114, 41)
HSLhsl(39, 58%, 38%)
HSVhsv(39, 73%, 60%)
CMYKcmyk(0%, 25%, 73%, 40.4%)
CIE-LABlab(50.54, 7.43, 44.46)
CIE-LCHlch(50.54, 45.08, 80.51°)
OKLaboklab(57.63% 0.0169 0.0993)
OKLCHoklch(57.63% 0.101 80.4)
XYZxyz(19.3677, 18.8716, 4.7199)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987229 #294F98
analogous
#983A29 #987229 #879829
triadic
#987229 #299872 #722998
tetradic
#987229 #29983A #294F98 #982987
square
#987229 #29983A #294F98 #982987
split-complementary
#987229 #298798 #3A2998
monochromatic
#382A0F #684E1C #987229 #C89636 #D6AF66

Accessibility & contrast

On white

4.40
#987229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#987229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987229
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987229#FFFFFF#000000##000000
##9872291.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81731F
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#A56763
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987229;
/* rgb */ color: rgb(152, 114, 41);
/* oklch */ color: oklch(57.6% 0.101 80.4);
Tailwind
colors: {
  custom: {
    50: '#ba9a67',
    500: '#987229',
    950: '#000000',
  },
}
SCSS
$custom: #987229;
$custom-light: #ba9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#987229",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 39.459,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57633,
    "c": 0.10067,
    "h": 80.4
  },
  "luminance": 0.1887
}

Semantic roles & 50–950 ramp

primary
#987229
secondary
#6180BC
accent
#7CE147
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987229

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

Preview Lab → · Contrast checker → · Palette generator →

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