#98A023#98A023

#98A023 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.140 H 113.4°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#98A023
RGBrgb(152, 160, 35)
HSLhsl(64, 64%, 38%)
HSVhsv(64, 78%, 63%)
CMYKcmyk(5%, 0%, 78.1%, 37.3%)
CIE-LABlab(63.29, -17.94, 58.97)
CIE-LCHlch(63.29, 61.64, 106.92°)
OKLaboklab(67.74% -0.0557 0.1289)
OKLCHoklch(67.74% 0.14 113.4)
XYZxyz(25.8239, 31.9389, 6.3943)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A023 #2B23A0
analogous
#A06923 #98A023 #59A023
triadic
#98A023 #2398A0 #A02398
tetradic
#98A023 #23A069 #2B23A0 #A02359
square
#98A023 #23A069 #2B23A0 #A02359
split-complementary
#98A023 #2359A0 #6923A0
monochromatic
#393C0D #686E18 #98A023 #C7D12F #D5DC61

Accessibility & contrast

On white

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

On black

7.39
#98A023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A023
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A023#FFFFFF#000000##000000
##98A0231.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#A39689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a023;
/* rgb */ color: rgb(152, 160, 35);
/* oklch */ color: oklch(67.7% 0.140 113.4);
Tailwind
colors: {
  custom: {
    50: '#babb69',
    500: '#98a023',
    950: '#000000',
  },
}
SCSS
$custom: #98a023;
$custom-light: #babb69;
$custom-dark: #000000;
JSON
{
  "hex": "#98a023",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 63.84,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67741,
    "c": 0.14039,
    "h": 113.4
  },
  "luminance": 0.31938
}

Semantic roles & 50–950 ramp

primary
#98A023
secondary
#645DC1
accent
#41E74B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #98A023

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

Preview Lab → · Contrast checker → · Palette generator →

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