#897923#897923

#897923 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.105 H 98.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#897923
RGBrgb(137, 121, 35)
HSLhsl(51, 59%, 34%)
HSVhsv(51, 74%, 54%)
CMYKcmyk(0%, 11.7%, 74.5%, 46.3%)
CIE-LABlab(50.82, -3.80, 46.79)
CIE-LCHlch(50.82, 46.94, 94.65°)
OKLaboklab(57.48% -0.0152 0.1036)
OKLCHoklch(57.48% 0.105 98.4)
XYZxyz(17.4581, 19.1153, 4.3598)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897923 #233389
analogous
#894623 #897923 #668923
triadic
#897923 #238979 #792389
tetradic
#897923 #238946 #233389 #892366
square
#897923 #238946 #233389 #892366
split-complementary
#897923 #236689 #462389
monochromatic
#28230A #584E17 #897923 #BAA42F #D3BF53

Accessibility & contrast

On white

4.35
#897923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#897923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897923
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897923#FFFFFF#000000##000000
##8979231.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857615
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #897923;
/* rgb */ color: rgb(137, 121, 35);
/* oklch */ color: oklch(57.5% 0.105 98.4);
Tailwind
colors: {
  custom: {
    50: '#af9f64',
    500: '#897923',
    950: '#000000',
  },
}
SCSS
$custom: #897923;
$custom-light: #af9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#897923",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 50.588,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.10472,
    "h": 98.4
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#897923
secondary
#5161B7
accent
#5EE245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897923

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

Preview Lab → · Contrast checker → · Palette generator →

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