#98A127#98A127

#98A127 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.139 H 113.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#98A127
RGBrgb(152, 161, 39)
HSLhsl(64, 61%, 39%)
HSVhsv(64, 76%, 63%)
CMYKcmyk(5.6%, 0%, 75.8%, 36.9%)
CIE-LABlab(63.60, -18.28, 57.96)
CIE-LCHlch(63.60, 60.77, 107.50°)
OKLaboklab(67.99% -0.0563 0.1275)
OKLCHoklch(67.99% 0.139 113.8)
XYZxyz(26.0608, 32.3122, 6.7831)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A127 #3027A1
analogous
#A16D27 #98A127 #5BA127
triadic
#98A127 #2798A1 #A12798
tetradic
#98A127 #27A16D #3027A1 #A1275B
square
#98A127 #27A16D #3027A1 #A1275B
split-complementary
#98A127 #275BA1 #6D27A1
monochromatic
#3B3E0F #69701B #98A127 #C3CE37 #D2DA68

Accessibility & contrast

On white

2.81
#98A127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#98A127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A127
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A127#FFFFFF#000000##000000
##98A1271.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990A
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#A2978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a127;
/* rgb */ color: rgb(152, 161, 39);
/* oklch */ color: oklch(68.0% 0.139 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc6b',
    500: '#98a127',
    950: '#000000',
  },
}
SCSS
$custom: #98a127;
$custom-light: #babc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a127",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 64.426,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67994,
    "c": 0.13932,
    "h": 113.8
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

primary
#98A127
secondary
#6A63C0
accent
#44E450
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A127

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

Preview Lab → · Contrast checker → · Palette generator →

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