#98A027#98A027

#98A027 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.138 H 113.4°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#98A027
RGBrgb(152, 160, 39)
HSLhsl(64, 61%, 39%)
HSVhsv(64, 76%, 63%)
CMYKcmyk(5%, 0%, 75.6%, 37.3%)
CIE-LABlab(63.31, -17.76, 57.69)
CIE-LCHlch(63.31, 60.36, 107.12°)
OKLaboklab(67.77% -0.0548 0.1269)
OKLCHoklch(67.77% 0.138 113.4)
XYZxyz(25.8867, 31.9641, 6.7251)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A027 #2F27A0
analogous
#A06C27 #98A027 #5CA027
triadic
#98A027 #2798A0 #A02798
tetradic
#98A027 #27A06C #2F27A0 #A0275C
square
#98A027 #27A06C #2F27A0 #A0275C
split-complementary
#98A027 #275CA0 #6C27A0
monochromatic
#3B3E0F #696F1B #98A027 #C4CE36 #D2DA67

Accessibility & contrast

On white

2.84
#98A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#98A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A027
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A027#FFFFFF#000000##000000
##98A0271.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980B
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#A29689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a027;
/* rgb */ color: rgb(152, 160, 39);
/* oklch */ color: oklch(67.8% 0.138 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb6b',
    500: '#98a027',
    950: '#000000',
  },
}
SCSS
$custom: #98a027;
$custom-light: #babb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a027",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 63.967,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67765,
    "c": 0.13824,
    "h": 113.4
  },
  "luminance": 0.31963
}

Semantic roles & 50–950 ramp

primary
#98A027
secondary
#6963C0
accent
#44E44E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98A027

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

Preview Lab → · Contrast checker → · Palette generator →

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