#898F18#898F18

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

Color values

HEX#898F18
RGBrgb(137, 143, 24)
HSLhsl(63, 71%, 33%)
HSVhsv(63, 83%, 56%)
CMYKcmyk(4.2%, 0%, 83.2%, 43.9%)
CIE-LABlab(57.10, -16.21, 56.26)
CIE-LCHlch(57.10, 58.54, 106.07°)
OKLaboklab(62.47% -0.051 0.1217)
OKLCHoklch(62.47% 0.132 112.7)
XYZxyz(20.3046, 25.0297, 4.6256)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F18 #1E188F
analogous
#8F5918 #898F18 #4E8F18
triadic
#898F18 #18898F #8F1889
tetradic
#898F18 #188F59 #1E188F #8F184E
square
#898F18 #188F59 #1E188F #8F184E
split-complementary
#898F18 #184E8F #59188F
monochromatic
#252606 #575B0F #898F18 #BBC321 #D7DF42

Accessibility & contrast

On white

3.50
#898F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##898F18#FFFFFF#000000##000000
##898F181.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898f18;
/* rgb */ color: rgb(137, 143, 24);
/* oklch */ color: oklch(62.5% 0.132 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf62',
    500: '#898f18',
    950: '#000000',
  },
}
SCSS
$custom: #898f18;
$custom-light: #afaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#898f18",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 63.025,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.1319,
    "h": 112.7
  },
  "luminance": 0.25029
}

Semantic roles & 50–950 ramp

primary
#898F18
secondary
#4943C0
accent
#3AEE43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F18

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

Preview Lab → · Contrast checker → · Palette generator →

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