#98A627#98A627

#98A627 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.1% C 0.145 H 115.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#98A627
RGBrgb(152, 166, 39)
HSLhsl(67, 62%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(8.4%, 0%, 76.5%, 34.9%)
CIE-LABlab(65.04, -20.81, 59.30)
CIE-LCHlch(65.04, 62.84, 109.34°)
OKLaboklab(69.15% -0.0633 0.1303)
OKLCHoklch(69.15% 0.145 115.9)
XYZxyz(26.9521, 34.0947, 7.0802)
Luminance0.3409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A627 #3527A6
analogous
#A67427 #98A627 #59A627
triadic
#98A627 #2798A6 #A62798
tetradic
#98A627 #27A674 #3527A6 #A62759
square
#98A627 #27A674 #3527A6 #A62759
split-complementary
#98A627 #2759A6 #7427A6
monochromatic
#3D4310 #6B741B #98A627 #C0D13A #D0DC6B

Accessibility & contrast

On white

2.69
#98A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#98A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A627
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A627#FFFFFF#000000##000000
##98A6271.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a627;
/* rgb */ color: rgb(152, 166, 39);
/* oklch */ color: oklch(69.1% 0.145 115.9);
Tailwind
colors: {
  custom: {
    50: '#bac06c',
    500: '#98a627',
    950: '#000000',
  },
}
SCSS
$custom: #98a627;
$custom-light: #bac06c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a627",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 66.614,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69148,
    "c": 0.14485,
    "h": 115.9
  },
  "luminance": 0.34094
}

Semantic roles & 50–950 ramp

primary
#98A627
secondary
#7066C3
accent
#43E555
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A627

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

Preview Lab → · Contrast checker → · Palette generator →

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