#897D34#897D34

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

Color values

HEX#897D34
RGBrgb(137, 125, 52)
HSLhsl(52, 45%, 37%)
HSVhsv(52, 62%, 54%)
CMYKcmyk(0%, 8.8%, 62%, 46.3%)
CIE-LABlab(52.10, -4.98, 40.51)
CIE-LCHlch(52.10, 40.81, 97.00°)
OKLaboklab(58.54% -0.0165 0.0932)
OKLCHoklch(58.54% 0.095 100)
XYZxyz(18.2707, 20.2343, 6.1914)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D34 #344089
analogous
#895234 #897D34 #6B8934
triadic
#897D34 #34897D #7D3489
tetradic
#897D34 #348952 #344089 #89346B
square
#897D34 #348952 #344089 #89346B
split-complementary
#897D34 #346B89 #523489
monochromatic
#302C12 #5D5523 #897D34 #B5A545 #C8BC6F

Accessibility & contrast

On white

4.16
#897D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#897D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D34
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D34#FFFFFF#000000##000000
##897D341.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2C
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#93756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d34;
/* rgb */ color: rgb(137, 125, 52);
/* oklch */ color: oklch(58.5% 0.095 100.0);
Tailwind
colors: {
  custom: {
    50: '#aea26e',
    500: '#897d34',
    950: '#000000',
  },
}
SCSS
$custom: #897d34;
$custom-light: #aea26e;
$custom-dark: #000000;
JSON
{
  "hex": "#897d34",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 51.529,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.09467,
    "h": 100
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#897D34
secondary
#6873B0
accent
#65D553
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D34

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

Preview Lab → · Contrast checker → · Palette generator →

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