#97A123#97A123

#97A123 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.142 H 114.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#97A123
RGBrgb(151, 161, 35)
HSLhsl(65, 64%, 38%)
HSVhsv(65, 78%, 63%)
CMYKcmyk(6.2%, 0%, 78.3%, 36.9%)
CIE-LABlab(63.50, -18.89, 59.13)
CIE-LCHlch(63.50, 62.07, 107.71°)
OKLaboklab(67.89% -0.0582 0.1293)
OKLCHoklch(67.89% 0.142 114.3)
XYZxyz(25.8115, 32.1909, 6.4435)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A123 #2D23A1
analogous
#A16C23 #97A123 #58A123
triadic
#97A123 #2397A1 #A12397
tetradic
#97A123 #23A16C #2D23A1 #A12358
square
#97A123 #23A16C #2D23A1 #A12358
split-complementary
#97A123 #2358A1 #6C23A1
monochromatic
#393C0D #686F18 #97A123 #C5D22F #D3DD62

Accessibility & contrast

On white

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

On black

7.44
#97A123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A123
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A123#FFFFFF#000000##000000
##97A1231.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a123;
/* rgb */ color: rgb(151, 161, 35);
/* oklch */ color: oklch(67.9% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc69',
    500: '#97a123',
    950: '#000000',
  },
}
SCSS
$custom: #97a123;
$custom-light: #b9bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a123",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 64.762,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.14177,
    "h": 114.3
  },
  "luminance": 0.3219
}

Semantic roles & 50–950 ramp

primary
#97A123
secondary
#665EC2
accent
#41E74E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A123

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

Preview Lab → · Contrast checker → · Palette generator →

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