#897918#897918

#897918 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.111 H 99.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#897918
RGBrgb(137, 121, 24)
HSLhsl(52, 70%, 32%)
HSVhsv(52, 82%, 54%)
CMYKcmyk(0%, 11.7%, 82.5%, 46.3%)
CIE-LABlab(50.76, -4.28, 50.73)
CIE-LCHlch(50.76, 50.91, 94.82°)
OKLaboklab(57.41% -0.0177 0.1097)
OKLCHoklch(57.41% 0.111 99.2)
XYZxyz(17.3197, 19.0599, 3.6306)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897918 #182889
analogous
#894118 #897918 #618918
triadic
#897918 #188979 #791889
tetradic
#897918 #188941 #182889 #891861
square
#897918 #188941 #182889 #891861
split-complementary
#897918 #186189 #411889
monochromatic
#211D06 #554B0F #897918 #BDA721 #DDC73E

Accessibility & contrast

On white

4.36
#897918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#897918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897918
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897918#FFFFFF#000000##000000
##8979181.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#946F67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #897918;
/* rgb */ color: rgb(137, 121, 24);
/* oklch */ color: oklch(57.4% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#af9f5f',
    500: '#897918',
    950: '#000000',
  },
}
SCSS
$custom: #897918;
$custom-light: #af9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#897918",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 51.504,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.11114,
    "h": 99.2
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#897918
secondary
#4052BD
accent
#54ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897918

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

Preview Lab → · Contrast checker → · Palette generator →

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