#897B18#897B18

#897B18 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.113 H 100.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#897B18
RGBrgb(137, 123, 24)
HSLhsl(53, 70%, 32%)
HSVhsv(53, 82%, 54%)
CMYKcmyk(0%, 10.2%, 82.5%, 46.3%)
CIE-LABlab(51.33, -5.40, 51.23)
CIE-LCHlch(51.33, 51.51, 96.01°)
OKLaboklab(57.86% -0.0208 0.1108)
OKLCHoklch(57.86% 0.113 100.6)
XYZxyz(17.5652, 19.5511, 3.7125)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B18 #182689
analogous
#894318 #897B18 #5F8918
triadic
#897B18 #18897B #7B1889
tetradic
#897B18 #188943 #182689 #89185F
square
#897B18 #188943 #182689 #89185F
split-complementary
#897B18 #185F89 #431889
monochromatic
#211D06 #554C0F #897B18 #BDAA21 #DDCA3E

Accessibility & contrast

On white

4.28
#897B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#897B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B18#FFFFFF#000000##000000
##897B181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #897b18;
/* rgb */ color: rgb(137, 123, 24);
/* oklch */ color: oklch(57.9% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#afa05f',
    500: '#897b18',
    950: '#000000',
  },
}
SCSS
$custom: #897b18;
$custom-light: #afa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#897b18",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 52.566,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57857,
    "c": 0.11274,
    "h": 100.6
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#897B18
secondary
#4050BD
accent
#51ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897B18

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

Preview Lab → · Contrast checker → · Palette generator →

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