#989125#989125

#989125 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.124 H 105.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#989125
RGBrgb(152, 145, 37)
HSLhsl(56, 61%, 37%)
HSVhsv(56, 76%, 60%)
CMYKcmyk(0%, 4.6%, 75.7%, 40.4%)
CIE-LABlab(59.03, -9.99, 54.37)
CIE-LCHlch(59.03, 55.28, 100.41°)
OKLaboklab(64.34% -0.0333 0.1195)
OKLCHoklch(64.34% 0.124 105.6)
XYZxyz(23.4092, 27.0607, 5.7401)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989125 #252C98
analogous
#985825 #989125 #669825
triadic
#989125 #259891 #912598
tetradic
#989125 #259858 #252C98 #982566
square
#989125 #259858 #252C98 #982566
split-complementary
#989125 #256698 #582598
monochromatic
#36330D #676219 #989125 #C9C031 #D8D15F

Accessibility & contrast

On white

3.28
#989125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#989125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989125
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989125#FFFFFF#000000##000000
##9891251.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0F
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#A4877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #989125;
/* rgb */ color: rgb(152, 145, 37);
/* oklch */ color: oklch(64.3% 0.124 105.6);
Tailwind
colors: {
  custom: {
    50: '#bab068',
    500: '#989125',
    950: '#000000',
  },
}
SCSS
$custom: #989125;
$custom-light: #bab068;
$custom-dark: #000000;
JSON
{
  "hex": "#989125",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 56.348,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.12403,
    "h": 105.6
  },
  "luminance": 0.2706
}

Semantic roles & 50–950 ramp

primary
#989125
secondary
#5C62BD
accent
#4EE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #989125

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

Preview Lab → · Contrast checker → · Palette generator →

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