#898120#898120

#898120 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.114 H 104.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#898120
RGBrgb(137, 129, 32)
HSLhsl(55, 62%, 33%)
HSVhsv(55, 77%, 54%)
CMYKcmyk(0%, 5.8%, 76.6%, 46.3%)
CIE-LABlab(53.08, -8.39, 50.10)
CIE-LCHlch(53.08, 50.80, 99.50°)
OKLaboklab(59.27% -0.0285 0.11)
OKLCHoklch(59.27% 0.114 104.5)
XYZxyz(18.4283, 21.1239, 4.4728)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898120 #202889
analogous
#894D20 #898120 #5C8920
triadic
#898120 #208981 #812089
tetradic
#898120 #20894D #202889 #89205C
square
#898120 #20894D #202889 #89205C
split-complementary
#898120 #205C89 #4D2089
monochromatic
#262409 #575214 #898120 #BBB02C #D6CB4E

Accessibility & contrast

On white

4.02
#898120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#898120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898120
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898120#FFFFFF#000000##000000
##8981201.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#94786E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898120;
/* rgb */ color: rgb(137, 129, 32);
/* oklch */ color: oklch(59.3% 0.114 104.5);
Tailwind
colors: {
  custom: {
    50: '#afa564',
    500: '#898120',
    950: '#000000',
  },
}
SCSS
$custom: #898120;
$custom-light: #afa564;
$custom-dark: #000000;
JSON
{
  "hex": "#898120",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 55.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59269,
    "c": 0.11367,
    "h": 104.5
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#898120
secondary
#4C54B9
accent
#4FE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898120

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

Preview Lab → · Contrast checker → · Palette generator →

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