#899231#899231

#899231 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.3% C 0.120 H 114.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#899231
RGBrgb(137, 146, 49)
HSLhsl(66, 50%, 38%)
HSVhsv(66, 66%, 57%)
CMYKcmyk(6.2%, 0%, 66.4%, 42.7%)
CIE-LABlab(58.13, -16.54, 48.35)
CIE-LCHlch(58.13, 51.10, 108.88°)
OKLaboklab(63.34% -0.0496 0.1094)
OKLCHoklch(63.34% 0.12 114.4)
XYZxyz(21.1503, 26.0983, 6.8284)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899231 #3A3192
analogous
#926A31 #899231 #589231
triadic
#899231 #318992 #923189
tetradic
#899231 #31926A #3A3192 #923158
square
#899231 #31926A #3A3192 #923158
split-complementary
#899231 #315892 #6A3192
monochromatic
#333612 #5E6422 #899231 #B4BF41 #C6CF6F

Accessibility & contrast

On white

3.38
#899231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#899231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899231
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899231#FFFFFF#000000##000000
##8992311.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B24
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#928A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #899231;
/* rgb */ color: rgb(137, 146, 49);
/* oklch */ color: oklch(63.3% 0.120 114.4);
Tailwind
colors: {
  custom: {
    50: '#aeb16e',
    500: '#899231',
    950: '#000000',
  },
}
SCSS
$custom: #899231;
$custom-light: #aeb16e;
$custom-dark: #000000;
JSON
{
  "hex": "#899231",
  "rgb": {
    "r": 137,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 65.567,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63336,
    "c": 0.12009,
    "h": 114.4
  },
  "luminance": 0.26098
}

Semantic roles & 50–950 ramp

primary
#899231
secondary
#7069B6
accent
#4FD95B
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #899231

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

Preview Lab → · Contrast checker → · Palette generator →

#899231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva