#98A230#98A230

#98A230 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.135 H 114.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#98A230
RGBrgb(152, 162, 48)
HSLhsl(65, 54%, 41%)
HSVhsv(65, 70%, 64%)
CMYKcmyk(6.2%, 0%, 70.4%, 36.5%)
CIE-LABlab(63.94, -18.33, 55.04)
CIE-LCHlch(63.94, 58.02, 108.42°)
OKLaboklab(68.29% -0.0556 0.1229)
OKLCHoklch(68.29% 0.135 114.3)
XYZxyz(26.4034, 32.7299, 7.7223)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A230 #3A30A2
analogous
#A27330 #98A230 #5FA230
triadic
#98A230 #3098A2 #A23098
tetradic
#98A230 #30A273 #3A30A2 #A2305F
square
#98A230 #30A273 #3A30A2 #A2305F
split-complementary
#98A230 #305FA2 #7330A2
monochromatic
#3F4414 #6C7322 #98A230 #BDC847 #CED676

Accessibility & contrast

On white

2.78
#98A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#98A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A230
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A230#FFFFFF#000000##000000
##98A2301.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1D
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#A2988C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a230;
/* rgb */ color: rgb(152, 162, 48);
/* oklch */ color: oklch(68.3% 0.135 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bd70',
    500: '#98a230',
    950: '#000000',
  },
}
SCSS
$custom: #98a230;
$custom-light: #b9bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#98a230",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 65.263,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68286,
    "c": 0.13488,
    "h": 114.3
  },
  "luminance": 0.32729
}

Semantic roles & 50–950 ramp

primary
#98A230
secondary
#766FBE
accent
#4ADE57
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A230

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

Preview Lab → · Contrast checker → · Palette generator →

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