#898F23#898F23

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

Color values

HEX#898F23
RGBrgb(137, 143, 35)
HSLhsl(63, 61%, 35%)
HSVhsv(63, 76%, 56%)
CMYKcmyk(4.2%, 0%, 75.5%, 43.9%)
CIE-LABlab(57.16, -15.76, 52.86)
CIE-LCHlch(57.16, 55.16, 106.60°)
OKLaboklab(62.53% -0.0488 0.1165)
OKLCHoklch(62.53% 0.126 112.7)
XYZxyz(20.4430, 25.0851, 5.3548)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F23 #29238F
analogous
#8F5F23 #898F23 #538F23
triadic
#898F23 #23898F #8F2389
tetradic
#898F23 #238F5F #29238F #8F2353
square
#898F23 #238F5F #29238F #8F2353
split-complementary
#898F23 #23538F #5F238F
monochromatic
#2B2D0B #5A5E17 #898F23 #B8C02F #CFD657

Accessibility & contrast

On white

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

On black

6.02
#898F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F23
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F23#FFFFFF#000000##000000
##898F231.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898f23;
/* rgb */ color: rgb(137, 143, 35);
/* oklch */ color: oklch(62.5% 0.126 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf67',
    500: '#898f23',
    950: '#000000',
  },
}
SCSS
$custom: #898f23;
$custom-light: #afaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#898f23",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 63.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62527,
    "c": 0.12628,
    "h": 112.7
  },
  "luminance": 0.25085
}

Semantic roles & 50–950 ramp

primary
#898F23
secondary
#5A54BA
accent
#44E44D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F23

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

Preview Lab → · Contrast checker → · Palette generator →

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