#898F1D#898F1D

#898F1D is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.5% C 0.130 H 112.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#898F1D
RGBrgb(137, 143, 29)
HSLhsl(63, 66%, 34%)
HSVhsv(63, 80%, 56%)
CMYKcmyk(4.2%, 0%, 79.7%, 43.9%)
CIE-LABlab(57.13, -16.02, 54.82)
CIE-LCHlch(57.13, 57.11, 106.29°)
OKLaboklab(62.49% -0.0501 0.1195)
OKLCHoklch(62.49% 0.13 112.7)
XYZxyz(20.3614, 25.0525, 4.9252)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F1D #231D8F
analogous
#8F5C1D #898F1D #508F1D
triadic
#898F1D #1D898F #8F1D89
tetradic
#898F1D #1D8F5C #231D8F #8F1D50
square
#898F1D #1D8F5C #231D8F #8F1D50
split-complementary
#898F1D #1D508F #5C1D8F
monochromatic
#282908 #585C13 #898F1D #BAC227 #D3DB4C

Accessibility & contrast

On white

3.49
#898F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#898F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F1D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F1D#FFFFFF#000000##000000
##898F1D1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8A27
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f1d;
/* rgb */ color: rgb(137, 143, 29);
/* oklch */ color: oklch(62.5% 0.130 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf64',
    500: '#898f1d',
    950: '#000000',
  },
}
SCSS
$custom: #898f1d;
$custom-light: #afaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#898f1d",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 63.158,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62491,
    "c": 0.12957,
    "h": 112.7
  },
  "luminance": 0.25052
}

Semantic roles & 50–950 ramp

primary
#898F1D
secondary
#514BBD
accent
#3FE948
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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