#98A730#98A730

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

Color values

HEX#98A730
RGBrgb(152, 167, 48)
HSLhsl(68, 55%, 42%)
HSVhsv(68, 71%, 65%)
CMYKcmyk(9%, 0%, 71.3%, 34.5%)
CIE-LABlab(65.38, -20.86, 56.46)
CIE-LCHlch(65.38, 60.20, 110.28°)
OKLaboklab(69.44% -0.0626 0.1259)
OKLCHoklch(69.44% 0.141 116.5)
XYZxyz(27.3018, 34.5266, 8.0218)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A730 #3F30A7
analogous
#A77B30 #98A730 #5DA730
triadic
#98A730 #3098A7 #A73098
tetradic
#98A730 #30A77B #3F30A7 #A7305D
square
#98A730 #30A77B #3F30A7 #A7305D
split-complementary
#98A730 #305DA7 #7B30A7
monochromatic
#414815 #6D7722 #98A730 #BACB49 #CCD879

Accessibility & contrast

On white

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

On black

7.91
#98A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A730
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A730#FFFFFF#000000##000000
##98A7301.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1B
Deuteranopia (green-blind)
#B1A039
Tritanopia (blue-blind)
#A29D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a730;
/* rgb */ color: rgb(152, 167, 48);
/* oklch */ color: oklch(69.4% 0.141 116.5);
Tailwind
colors: {
  custom: {
    50: '#b9c170',
    500: '#98a730',
    950: '#000000',
  },
}
SCSS
$custom: #98a730;
$custom-light: #b9c170;
$custom-dark: #000000;
JSON
{
  "hex": "#98a730",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 67.563,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69438,
    "c": 0.1406,
    "h": 116.5
  },
  "luminance": 0.34526
}

Semantic roles & 50–950 ramp

primary
#98A730
secondary
#7C72C1
accent
#49DF5C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A730

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

Preview Lab → · Contrast checker → · Palette generator →

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