#897A23#897A23

#897A23 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.106 H 99.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#897A23
RGBrgb(137, 122, 35)
HSLhsl(51, 59%, 34%)
HSVhsv(51, 74%, 54%)
CMYKcmyk(0%, 10.9%, 74.5%, 46.3%)
CIE-LABlab(51.11, -4.36, 47.06)
CIE-LCHlch(51.11, 47.27, 95.30°)
OKLaboklab(57.7% -0.0168 0.1042)
OKLCHoklch(57.7% 0.106 99.2)
XYZxyz(17.5803, 19.3596, 4.4006)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A23 #233289
analogous
#894723 #897A23 #658923
triadic
#897A23 #23897A #7A2389
tetradic
#897A23 #238947 #233289 #892365
square
#897A23 #238947 #233289 #892365
split-complementary
#897A23 #236589 #472389
monochromatic
#28230A #584F17 #897A23 #BAA52F #D3C053

Accessibility & contrast

On white

4.31
#897A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#897A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A23
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A23#FFFFFF#000000##000000
##897A231.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867715
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a23;
/* rgb */ color: rgb(137, 122, 35);
/* oklch */ color: oklch(57.7% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#afa064',
    500: '#897a23',
    950: '#000000',
  },
}
SCSS
$custom: #897a23;
$custom-light: #afa064;
$custom-dark: #000000;
JSON
{
  "hex": "#897a23",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 51.176,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57702,
    "c": 0.10554,
    "h": 99.2
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#897A23
secondary
#5160B7
accent
#5CE245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A23

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

Preview Lab → · Contrast checker → · Palette generator →

#897A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva