#897422#897422

#897422 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.4% C 0.102 H 94.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#897422
RGBrgb(137, 116, 34)
HSLhsl(48, 60%, 34%)
HSVhsv(48, 75%, 54%)
CMYKcmyk(0%, 15.3%, 75.2%, 46.3%)
CIE-LABlab(49.41, -1.03, 45.81)
CIE-LCHlch(49.41, 45.82, 91.29°)
OKLaboklab(56.36% -0.0074 0.1013)
OKLCHoklch(56.36% 0.102 94.2)
XYZxyz(16.8515, 17.9256, 4.0854)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897422 #223789
analogous
#894022 #897422 #6A8922
triadic
#897422 #228974 #742289
tetradic
#897422 #228940 #223789 #89226A
square
#897422 #228940 #223789 #89226A
split-complementary
#897422 #226A89 #402289
monochromatic
#27210A #584A16 #897422 #BA9E2E #D4B951

Accessibility & contrast

On white

4.58
#897422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#897422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897422
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897422#FFFFFF#000000##000000
##8974221.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#946A64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897422;
/* rgb */ color: rgb(137, 116, 34);
/* oklch */ color: oklch(56.4% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#af9b63',
    500: '#897422',
    950: '#000000',
  },
}
SCSS
$custom: #897422;
$custom-light: #af9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#897422",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 47.767,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.10161,
    "h": 94.2
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#897422
secondary
#4F65B8
accent
#65E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897422

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

Preview Lab → · Contrast checker → · Palette generator →

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