#897D30#897D30

#897D30 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.098 H 100.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#897D30
RGBrgb(137, 125, 48)
HSLhsl(52, 48%, 36%)
HSVhsv(52, 65%, 54%)
CMYKcmyk(0%, 8.8%, 65%, 46.3%)
CIE-LABlab(52.06, -5.26, 42.37)
CIE-LCHlch(52.06, 42.70, 97.08°)
OKLaboklab(58.5% -0.0178 0.0966)
OKLCHoklch(58.5% 0.098 100.5)
XYZxyz(18.1844, 20.1998, 5.7368)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D30 #303C89
analogous
#895130 #897D30 #698930
triadic
#897D30 #30897D #7D3089
tetradic
#897D30 #308951 #303C89 #893069
square
#897D30 #308951 #303C89 #893069
split-complementary
#897D30 #306989 #513089
monochromatic
#2E2A10 #5C5420 #897D30 #B6A640 #CABD69

Accessibility & contrast

On white

4.17
#897D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#897D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D30
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D30#FFFFFF#000000##000000
##897D301.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887927
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#93746D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d30;
/* rgb */ color: rgb(137, 125, 48);
/* oklch */ color: oklch(58.5% 0.098 100.5);
Tailwind
colors: {
  custom: {
    50: '#aea26c',
    500: '#897d30',
    950: '#000000',
  },
}
SCSS
$custom: #897d30;
$custom-light: #aea26c;
$custom-dark: #000000;
JSON
{
  "hex": "#897d30",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 51.91,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.09822,
    "h": 100.5
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#897D30
secondary
#636EB2
accent
#62D850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D30

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

Preview Lab → · Contrast checker → · Palette generator →

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