#898F2C#898F2C

#898F2C is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.120 H 112.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#898F2C
RGBrgb(137, 143, 44)
HSLhsl(64, 53%, 37%)
HSVhsv(64, 69%, 56%)
CMYKcmyk(4.2%, 0%, 69.2%, 43.9%)
CIE-LABlab(57.22, -15.28, 49.50)
CIE-LCHlch(57.22, 51.80, 107.16°)
OKLaboklab(62.59% -0.0466 0.111)
OKLCHoklch(62.59% 0.12 112.8)
XYZxyz(20.5942, 25.1456, 6.1511)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F2C #322C8F
analogous
#8F642C #898F2C #588F2C
triadic
#898F2C #2C898F #8F2C89
tetradic
#898F2C #2C8F64 #322C8F #8F2C58
square
#898F2C #2C8F64 #322C8F #8F2C58
split-complementary
#898F2C #2C588F #642C8F
monochromatic
#2F310F #5C601E #898F2C #B6BE3A #C9D066

Accessibility & contrast

On white

3.48
#898F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#898F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F2C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F2C#FFFFFF#000000##000000
##898F2C1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881D
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#92867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f2c;
/* rgb */ color: rgb(137, 143, 44);
/* oklch */ color: oklch(62.6% 0.120 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeaf6b',
    500: '#898f2c',
    950: '#000000',
  },
}
SCSS
$custom: #898f2c;
$custom-light: #aeaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#898f2c",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 63.636,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62593,
    "c": 0.12036,
    "h": 112.8
  },
  "luminance": 0.25145
}

Semantic roles & 50–950 ramp

primary
#898F2C
secondary
#6661B6
accent
#4BDC54
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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