#898019#898019

#898019 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.117 H 104.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#898019
RGBrgb(137, 128, 25)
HSLhsl(55, 69%, 32%)
HSVhsv(55, 82%, 54%)
CMYKcmyk(0%, 6.6%, 81.8%, 46.3%)
CIE-LABlab(52.76, -8.13, 52.18)
CIE-LCHlch(52.76, 52.80, 98.85°)
OKLaboklab(59% -0.0284 0.1131)
OKLCHoklch(59% 0.117 104.1)
XYZxyz(18.2120, 20.8277, 3.9803)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898019 #192289
analogous
#894819 #898019 #5A8919
triadic
#898019 #198980 #801989
tetradic
#898019 #198948 #192289 #89195A
square
#898019 #198948 #192289 #89195A
split-complementary
#898019 #195A89 #481989
monochromatic
#211F06 #555010 #898019 #BDB022 #DCD040

Accessibility & contrast

On white

4.07
#898019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#898019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898019
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898019#FFFFFF#000000##000000
##8980191.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#94766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #898019;
/* rgb */ color: rgb(137, 128, 25);
/* oklch */ color: oklch(59.0% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#afa460',
    500: '#898019',
    950: '#000000',
  },
}
SCSS
$custom: #898019;
$custom-light: #afa460;
$custom-dark: #000000;
JSON
{
  "hex": "#898019",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 55.179,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.11657,
    "h": 104.1
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

primary
#898019
secondary
#414BBC
accent
#4AEC3C
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898019

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

Preview Lab → · Contrast checker → · Palette generator →

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