#97A023#97A023

#97A023 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.7% C 0.141 H 113.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#97A023
RGBrgb(151, 160, 35)
HSLhsl(64, 64%, 38%)
HSVhsv(64, 78%, 63%)
CMYKcmyk(5.6%, 0%, 78.1%, 37.3%)
CIE-LABlab(63.21, -18.37, 58.87)
CIE-LCHlch(63.21, 61.67, 107.33°)
OKLaboklab(67.66% -0.0568 0.1287)
OKLCHoklch(67.66% 0.141 113.8)
XYZxyz(25.6375, 31.8428, 6.3855)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A023 #2C23A0
analogous
#A06A23 #97A023 #58A023
triadic
#97A023 #2397A0 #A02397
tetradic
#97A023 #23A06A #2C23A0 #A02358
square
#97A023 #23A06A #2C23A0 #A02358
split-complementary
#97A023 #2358A0 #6A23A0
monochromatic
#383C0D #686E18 #97A023 #C6D12F #D4DC61

Accessibility & contrast

On white

2.85
#97A023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#97A023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A023
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A023#FFFFFF#000000##000000
##97A0231.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a023;
/* rgb */ color: rgb(151, 160, 35);
/* oklch */ color: oklch(67.7% 0.141 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb69',
    500: '#97a023',
    950: '#000000',
  },
}
SCSS
$custom: #97a023;
$custom-light: #b9bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a023",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 64.32,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67658,
    "c": 0.14069,
    "h": 113.8
  },
  "luminance": 0.31842
}

Semantic roles & 50–950 ramp

primary
#97A023
secondary
#655DC1
accent
#41E74D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #97A023

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

Preview Lab → · Contrast checker → · Palette generator →

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