#98A727#98A727

#98A727 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.4% C 0.146 H 116.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#98A727
RGBrgb(152, 167, 39)
HSLhsl(67, 62%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(9%, 0%, 76.6%, 34.5%)
CIE-LABlab(65.33, -21.31, 59.56)
CIE-LCHlch(65.33, 63.26, 109.69°)
OKLaboklab(69.38% -0.0647 0.1309)
OKLCHoklch(69.38% 0.146 116.3)
XYZxyz(27.1345, 34.4597, 7.1410)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A727 #3627A7
analogous
#A77627 #98A727 #58A727
triadic
#98A727 #2798A7 #A72798
tetradic
#98A727 #27A776 #3627A7 #A72758
square
#98A727 #27A776 #3627A7 #A72758
split-complementary
#98A727 #2758A7 #7627A7
monochromatic
#3E4410 #6B751B #98A727 #BFD13A #CFDD6C

Accessibility & contrast

On white

2.66
#98A727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#98A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A727
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A727#FFFFFF#000000##000000
##98A7271.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B29F33
Tritanopia (blue-blind)
#A29D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a727;
/* rgb */ color: rgb(152, 167, 39);
/* oklch */ color: oklch(69.4% 0.146 116.3);
Tailwind
colors: {
  custom: {
    50: '#bac16c',
    500: '#98a727',
    950: '#000000',
  },
}
SCSS
$custom: #98a727;
$custom-light: #bac16c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a727",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 67.031,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69379,
    "c": 0.14596,
    "h": 116.3
  },
  "luminance": 0.34459
}

Semantic roles & 50–950 ramp

primary
#98A727
secondary
#7267C3
accent
#43E556
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A727

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

Preview Lab → · Contrast checker → · Palette generator →

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