#98A451#98A451

#98A451 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.109 H 116.1°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#98A451
RGBrgb(152, 164, 81)
HSLhsl(69, 34%, 48%)
HSVhsv(69, 51%, 64%)
CMYKcmyk(7.3%, 0%, 50.6%, 35.7%)
CIE-LABlab(64.82, -16.82, 41.24)
CIE-LCHlch(64.82, 44.54, 112.19°)
OKLaboklab(69.09% -0.0479 0.0978)
OKLCHoklch(69.09% 0.109 116.1)
XYZxyz(27.7099, 33.8207, 12.8513)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A451 #5D51A4
analogous
#A48651 #98A451 #6EA451
triadic
#98A451 #5198A4 #A45198
tetradic
#98A451 #51A486 #5D51A4 #A4516E
square
#98A451 #51A486 #5D51A4 #A4516E
split-complementary
#98A451 #516EA4 #8651A4
monochromatic
#4C5229 #727B3D #98A451 #B2BC77 #C9D0A0

Accessibility & contrast

On white

2.70
#98A451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#98A451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A451
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A451#FFFFFF#000000##000000
##98A4511.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D49
Deuteranopia (green-blind)
#AD9E56
Tritanopia (blue-blind)
#A09C91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a451;
/* rgb */ color: rgb(152, 164, 81);
/* oklch */ color: oklch(69.1% 0.109 116.1);
Tailwind
colors: {
  custom: {
    50: '#b8be84',
    500: '#98a451',
    950: '#000000',
  },
}
SCSS
$custom: #98a451;
$custom-light: #b8be84;
$custom-dark: #000000;
JSON
{
  "hex": "#98a451",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 68.675,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69088,
    "c": 0.10887,
    "h": 116.1
  },
  "luminance": 0.3382
}

Semantic roles & 50–950 ramp

primary
#98A451
secondary
#9A94BD
accent
#5ECA6D
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #98A451

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

Preview Lab → · Contrast checker → · Palette generator →

#98A451 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva