#898E2C#898E2C

#898E2C is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.119 H 112.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#898E2C
RGBrgb(137, 142, 44)
HSLhsl(63, 53%, 36%)
HSVhsv(63, 69%, 56%)
CMYKcmyk(3.5%, 0%, 69%, 44.3%)
CIE-LABlab(56.93, -14.75, 49.20)
CIE-LCHlch(56.93, 51.36, 106.69°)
OKLaboklab(62.36% -0.0451 0.1104)
OKLCHoklch(62.36% 0.119 112.2)
XYZxyz(20.4448, 24.8467, 6.1013)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E2C #312C8E
analogous
#8E622C #898E2C #588E2C
triadic
#898E2C #2C898E #8E2C89
tetradic
#898E2C #2C8E62 #312C8E #8E2C58
square
#898E2C #2C8E62 #312C8E #8E2C58
split-complementary
#898E2C #2C588E #622C8E
monochromatic
#2F310F #5C5F1E #898E2C #B6BD3A #CACF65

Accessibility & contrast

On white

3.52
#898E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#898E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E2C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E2C#FFFFFF#000000##000000
##898E2C1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871D
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#92857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898e2c;
/* rgb */ color: rgb(137, 142, 44);
/* oklch */ color: oklch(62.4% 0.119 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae6b',
    500: '#898e2c',
    950: '#000000',
  },
}
SCSS
$custom: #898e2c;
$custom-light: #aeae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#898e2c",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 63.061,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6236,
    "c": 0.11922,
    "h": 112.2
  },
  "luminance": 0.24846
}

Semantic roles & 50–950 ramp

primary
#898E2C
secondary
#6460B6
accent
#4CDC53
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898E2C

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

Preview Lab → · Contrast checker → · Palette generator →

#898E2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva