#898E27#898E27

#898E27 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.123 H 112.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#898E27
RGBrgb(137, 142, 39)
HSLhsl(63, 57%, 35%)
HSVhsv(63, 73%, 56%)
CMYKcmyk(3.5%, 0%, 72.5%, 44.3%)
CIE-LABlab(56.89, -15.03, 51.14)
CIE-LCHlch(56.89, 53.30, 106.38°)
OKLaboklab(62.32% -0.0464 0.1136)
OKLCHoklch(62.32% 0.123 112.2)
XYZxyz(20.3564, 24.8113, 5.6358)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E27 #2C278E
analogous
#8E6027 #898E27 #558E27
triadic
#898E27 #27898E #8E2789
tetradic
#898E27 #278E60 #2C278E #8E2755
square
#898E27 #278E60 #2C278E #8E2755
split-complementary
#898E27 #27558E #60278E
monochromatic
#2C2E0D #5B5E1A #898E27 #B7BE34 #CDD25D

Accessibility & contrast

On white

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

On black

5.96
#898E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E27
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E27#FFFFFF#000000##000000
##898E271.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e27;
/* rgb */ color: rgb(137, 142, 39);
/* oklch */ color: oklch(62.3% 0.123 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae69',
    500: '#898e27',
    950: '#000000',
  },
}
SCSS
$custom: #898e27;
$custom-light: #aeae69;
$custom-dark: #000000;
JSON
{
  "hex": "#898e27",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 62.913,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62321,
    "c": 0.12268,
    "h": 112.2
  },
  "luminance": 0.24811
}

Semantic roles & 50–950 ramp

primary
#898E27
secondary
#5E59B8
accent
#48E04F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898E27

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

Preview Lab → · Contrast checker → · Palette generator →

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