#898F2E#898F2E

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

Color values

HEX#898F2E
RGBrgb(137, 143, 46)
HSLhsl(64, 51%, 37%)
HSVhsv(64, 68%, 56%)
CMYKcmyk(4.2%, 0%, 67.8%, 43.9%)
CIE-LABlab(57.23, -15.16, 48.69)
CIE-LCHlch(57.23, 50.99, 107.29°)
OKLaboklab(62.61% -0.046 0.1096)
OKLCHoklch(62.61% 0.119 112.8)
XYZxyz(20.6327, 25.1610, 6.3539)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F2E #342E8F
analogous
#8F642E #898F2E #598F2E
triadic
#898F2E #2E898F #8F2E89
tetradic
#898F2E #2E8F64 #342E8F #8F2E59
square
#898F2E #2E8F64 #342E8F #8F2E59
split-complementary
#898F2E #2E598F #642E8F
monochromatic
#303210 #5D611F #898F2E #B5BD3D #C8CF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898F2E#FFFFFF#000000##000000
##898F2E1.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)
#9A8820
Deuteranopia (green-blind)
#9A8A35
Tritanopia (blue-blind)
#92867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f2e;
/* rgb */ color: rgb(137, 143, 46);
/* oklch */ color: oklch(62.6% 0.119 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeaf6c',
    500: '#898f2e',
    950: '#000000',
  },
}
SCSS
$custom: #898f2e;
$custom-light: #aeaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#898f2e",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 63.711,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62609,
    "c": 0.11888,
    "h": 112.8
  },
  "luminance": 0.25161
}

Semantic roles & 50–950 ramp

primary
#898F2E
secondary
#6863B6
accent
#4DDB56
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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