#989F38#989F38

#989F38 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.126 H 113.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#989F38
RGBrgb(152, 159, 56)
HSLhsl(64, 48%, 42%)
HSVhsv(64, 65%, 62%)
CMYKcmyk(4.4%, 0%, 64.8%, 37.6%)
CIE-LABlab(63.14, -16.30, 50.98)
CIE-LCHlch(63.14, 53.52, 107.73°)
OKLaboklab(67.66% -0.0491 0.1156)
OKLCHoklch(67.66% 0.126 113)
XYZxyz(26.0615, 31.7577, 8.4976)
Luminance0.3176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F38 #3F389F
analogous
#9F7338 #989F38 #649F38
triadic
#989F38 #38989F #9F3898
tetradic
#989F38 #389F73 #3F389F #9F3864
square
#989F38 #389F73 #3F389F #9F3864
split-complementary
#989F38 #38649F #73389F
monochromatic
#414418 #6D7228 #989F38 #BAC252 #CCD27F

Accessibility & contrast

On white

2.86
#989F38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#989F38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F38
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F38#FFFFFF#000000##000000
##989F381.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982B
Deuteranopia (green-blind)
#AB9A3F
Tritanopia (blue-blind)
#A2968A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989f38;
/* rgb */ color: rgb(152, 159, 56);
/* oklch */ color: oklch(67.7% 0.126 113.0);
Tailwind
colors: {
  custom: {
    50: '#b9bb74',
    500: '#989f38',
    950: '#000000',
  },
}
SCSS
$custom: #989f38;
$custom-light: #b9bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#989f38",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 56
  },
  "hsl": {
    "h": 64.078,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67664,
    "c": 0.12562,
    "h": 113
  },
  "luminance": 0.31757
}

Semantic roles & 50–950 ramp

primary
#989F38
secondary
#7C77BB
accent
#50D759
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #989F38

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

Preview Lab → · Contrast checker → · Palette generator →

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