#98A723#98A723

#98A723 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.148 H 116.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#98A723
RGBrgb(152, 167, 35)
HSLhsl(67, 65%, 40%)
HSVhsv(67, 79%, 65%)
CMYKcmyk(9%, 0%, 79%, 34.5%)
CIE-LABlab(65.31, -21.48, 60.79)
CIE-LCHlch(65.31, 64.48, 109.46°)
OKLaboklab(69.36% -0.0655 0.1328)
OKLCHoklch(69.36% 0.148 116.3)
XYZxyz(27.0717, 34.4346, 6.8102)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A723 #3223A7
analogous
#A77423 #98A723 #56A723
triadic
#98A723 #2398A7 #A72398
tetradic
#98A723 #23A774 #3223A7 #A72356
square
#98A723 #23A774 #3223A7 #A72356
split-complementary
#98A723 #2356A7 #7423A7
monochromatic
#3C420E #6A7418 #98A723 #C2D433 #D1DF66

Accessibility & contrast

On white

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

On black

7.89
#98A723 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A723
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A723#FFFFFF#000000##000000
##98A7231.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F30
Tritanopia (blue-blind)
#A29D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a723;
/* rgb */ color: rgb(152, 167, 35);
/* oklch */ color: oklch(69.4% 0.148 116.3);
Tailwind
colors: {
  custom: {
    50: '#bac16a',
    500: '#98a723',
    950: '#000000',
  },
}
SCSS
$custom: #98a723;
$custom-light: #bac16a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a723",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 35
  },
  "hsl": {
    "h": 66.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69357,
    "c": 0.14803,
    "h": 116.3
  },
  "luminance": 0.34434
}

Semantic roles & 50–950 ramp

primary
#98A723
secondary
#6D61C4
accent
#3FE853
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A723

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

Preview Lab → · Contrast checker → · Palette generator →

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