#98A423#98A423

#98A423 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.145 H 115.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#98A423
RGBrgb(152, 164, 35)
HSLhsl(66, 65%, 39%)
HSVhsv(66, 79%, 64%)
CMYKcmyk(7.3%, 0%, 78.7%, 35.7%)
CIE-LABlab(64.44, -19.97, 60.01)
CIE-LCHlch(64.44, 63.25, 108.41°)
OKLaboklab(68.66% -0.0613 0.1311)
OKLCHoklch(68.66% 0.145 115.1)
XYZxyz(26.5285, 33.3481, 6.6291)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A423 #2F23A4
analogous
#A47023 #98A423 #58A423
triadic
#98A423 #2398A4 #A42398
tetradic
#98A423 #23A470 #2F23A4 #A42358
square
#98A423 #23A470 #2F23A4 #A42358
split-complementary
#98A423 #2358A4 #7023A4
monochromatic
#3B3F0D #697218 #98A423 #C4D331 #D2DE64

Accessibility & contrast

On white

2.74
#98A423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#98A423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A423
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A423#FFFFFF#000000##000000
##98A4231.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#A29A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a423;
/* rgb */ color: rgb(152, 164, 35);
/* oklch */ color: oklch(68.7% 0.145 115.1);
Tailwind
colors: {
  custom: {
    50: '#babe6a',
    500: '#98a423',
    950: '#000000',
  },
}
SCSS
$custom: #98a423;
$custom-light: #babe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a423",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 65.581,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68663,
    "c": 0.14472,
    "h": 115.1
  },
  "luminance": 0.33348
}

Semantic roles & 50–950 ramp

primary
#98A423
secondary
#6960C3
accent
#40E850
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A423

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

Preview Lab → · Contrast checker → · Palette generator →

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