#98A427#98A427

#98A427 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.143 H 115.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#98A427
RGBrgb(152, 164, 39)
HSLhsl(66, 62%, 40%)
HSVhsv(66, 76%, 64%)
CMYKcmyk(7.3%, 0%, 76.2%, 35.7%)
CIE-LABlab(64.46, -19.80, 58.76)
CIE-LCHlch(64.46, 62.01, 108.62°)
OKLaboklab(68.69% -0.0605 0.1292)
OKLCHoklch(68.69% 0.143 115.1)
XYZxyz(26.5913, 33.3733, 6.9599)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A427 #3327A4
analogous
#A47227 #98A427 #5AA427
triadic
#98A427 #2798A4 #A42798
tetradic
#98A427 #27A472 #3327A4 #A4275A
square
#98A427 #27A472 #3327A4 #A4275A
split-complementary
#98A427 #275AA4 #7227A4
monochromatic
#3C410F #6A731B #98A427 #C1D038 #D1DC6A

Accessibility & contrast

On white

2.74
#98A427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#98A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A427
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A427#FFFFFF#000000##000000
##98A4271.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B07
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a427;
/* rgb */ color: rgb(152, 164, 39);
/* oklch */ color: oklch(68.7% 0.143 115.1);
Tailwind
colors: {
  custom: {
    50: '#babe6c',
    500: '#98a427',
    950: '#000000',
  },
}
SCSS
$custom: #98a427;
$custom-light: #babe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a427",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 65.76,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68686,
    "c": 0.14263,
    "h": 115.1
  },
  "luminance": 0.33373
}

Semantic roles & 50–950 ramp

primary
#98A427
secondary
#6E65C2
accent
#43E553
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A427

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

Preview Lab → · Contrast checker → · Palette generator →

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