#898E1C#898E1C

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

Color values

HEX#898E1C
RGBrgb(137, 142, 28)
HSLhsl(63, 67%, 33%)
HSVhsv(63, 80%, 56%)
CMYKcmyk(3.5%, 0%, 80.3%, 44.3%)
CIE-LABlab(56.83, -15.54, 54.86)
CIE-LCHlch(56.83, 57.02, 105.81°)
OKLaboklab(62.25% -0.0488 0.1194)
OKLCHoklch(62.25% 0.129 112.2)
XYZxyz(20.1998, 24.7487, 4.8113)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E1C #211C8E
analogous
#8E5A1C #898E1C #508E1C
triadic
#898E1C #1C898E #8E1C89
tetradic
#898E1C #1C8E5A #211C8E #8E1C50
square
#898E1C #1C8E5A #211C8E #8E1C50
split-complementary
#898E1C #1C508E #5A1C8E
monochromatic
#262808 #585B12 #898E1C #BAC126 #D5DB49

Accessibility & contrast

On white

3.53
#898E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#898E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E1C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E1C#FFFFFF#000000##000000
##898E1C1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e1c;
/* rgb */ color: rgb(137, 142, 28);
/* oklch */ color: oklch(62.3% 0.129 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae63',
    500: '#898e1c',
    950: '#000000',
  },
}
SCSS
$custom: #898e1c;
$custom-light: #afae63;
$custom-dark: #000000;
JSON
{
  "hex": "#898e1c",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 62.632,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.12899,
    "h": 112.2
  },
  "luminance": 0.24748
}

Semantic roles & 50–950 ramp

primary
#898E1C
secondary
#4E49BD
accent
#3EEA45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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