#98A030#98A030

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

Color values

HEX#98A030
RGBrgb(152, 160, 48)
HSLhsl(64, 54%, 41%)
HSVhsv(64, 70%, 63%)
CMYKcmyk(5%, 0%, 70%, 37.3%)
CIE-LABlab(63.37, -17.31, 54.47)
CIE-LCHlch(63.37, 57.16, 107.62°)
OKLaboklab(67.83% -0.0527 0.1217)
OKLCHoklch(67.83% 0.133 113.4)
XYZxyz(26.0539, 32.0309, 7.6058)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A030 #3830A0
analogous
#A07030 #98A030 #60A030
triadic
#98A030 #3098A0 #A03098
tetradic
#98A030 #30A070 #3830A0 #A03060
square
#98A030 #30A070 #3830A0 #A03060
split-complementary
#98A030 #3060A0 #7030A0
monochromatic
#3F4214 #6B7122 #98A030 #BEC746 #CFD675

Accessibility & contrast

On white

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

On black

7.41
#98A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A030
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A030#FFFFFF#000000##000000
##98A0301.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981E
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#A2968A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a030;
/* rgb */ color: rgb(152, 160, 48);
/* oklch */ color: oklch(67.8% 0.133 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb70',
    500: '#98a030',
    950: '#000000',
  },
}
SCSS
$custom: #98a030;
$custom-light: #b9bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#98a030",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 64.286,
    "s": 53.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67826,
    "c": 0.13262,
    "h": 113.4
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

primary
#98A030
secondary
#746EBE
accent
#4BDD55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #98A030

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

Preview Lab → · Contrast checker → · Palette generator →

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