#989F27#989F27

#989F27 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.137 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#989F27
RGBrgb(152, 159, 39)
HSLhsl(64, 61%, 39%)
HSVhsv(64, 75%, 62%)
CMYKcmyk(4.4%, 0%, 75.5%, 37.6%)
CIE-LABlab(63.03, -17.25, 57.42)
CIE-LCHlch(63.03, 59.96, 106.72°)
OKLaboklab(67.54% -0.0534 0.1263)
OKLCHoklch(67.54% 0.137 112.9)
XYZxyz(25.7141, 31.6187, 6.6675)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F27 #2E279F
analogous
#9F6A27 #989F27 #5C9F27
triadic
#989F27 #27989F #9F2798
tetradic
#989F27 #279F6A #2E279F #9F275C
square
#989F27 #279F6A #2E279F #9F275C
split-complementary
#989F27 #275C9F #6A279F
monochromatic
#3A3D0F #696E1B #989F27 #C5CE36 #D3DA67

Accessibility & contrast

On white

2.87
#989F27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#989F27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F27
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F27#FFFFFF#000000##000000
##989F271.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970B
Deuteranopia (green-blind)
#AB9A31
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f27;
/* rgb */ color: rgb(152, 159, 39);
/* oklch */ color: oklch(67.5% 0.137 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb6b',
    500: '#989f27',
    950: '#000000',
  },
}
SCSS
$custom: #989f27;
$custom-light: #babb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#989f27",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 63.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67535,
    "c": 0.13716,
    "h": 112.9
  },
  "luminance": 0.31618
}

Semantic roles & 50–950 ramp

primary
#989F27
secondary
#6862C0
accent
#44E44D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989F27

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

Preview Lab → · Contrast checker → · Palette generator →

#989F27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva