#98A123#98A123

#98A123 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.141 H 113.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#98A123
RGBrgb(152, 161, 35)
HSLhsl(64, 64%, 38%)
HSVhsv(64, 78%, 63%)
CMYKcmyk(5.6%, 0%, 78.3%, 36.9%)
CIE-LABlab(63.58, -18.45, 59.23)
CIE-LCHlch(63.58, 62.04, 107.30°)
OKLaboklab(67.97% -0.0571 0.1294)
OKLCHoklch(67.97% 0.141 113.8)
XYZxyz(25.9980, 32.2870, 6.4523)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A123 #2C23A1
analogous
#A16B23 #98A123 #59A123
triadic
#98A123 #2398A1 #A12398
tetradic
#98A123 #23A16B #2C23A1 #A12359
square
#98A123 #23A16B #2C23A1 #A12359
split-complementary
#98A123 #2359A1 #6B23A1
monochromatic
#393C0D #696F18 #98A123 #C6D22F #D4DD62

Accessibility & contrast

On white

2.82
#98A123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#98A123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A123
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A123#FFFFFF#000000##000000
##98A1231.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#A3978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a123;
/* rgb */ color: rgb(152, 161, 35);
/* oklch */ color: oklch(68.0% 0.141 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc69',
    500: '#98a123',
    950: '#000000',
  },
}
SCSS
$custom: #98a123;
$custom-light: #babc69;
$custom-dark: #000000;
JSON
{
  "hex": "#98a123",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 64.286,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67971,
    "c": 0.14146,
    "h": 113.8
  },
  "luminance": 0.32286
}

Semantic roles & 50–950 ramp

primary
#98A123
secondary
#655EC2
accent
#41E74C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A123

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

Preview Lab → · Contrast checker → · Palette generator →

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