#97A23D#97A23D

#97A23D is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.3% C 0.125 H 115.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#97A23D
RGBrgb(151, 162, 61)
HSLhsl(67, 45%, 44%)
HSVhsv(67, 62%, 64%)
CMYKcmyk(6.8%, 0%, 62.3%, 36.5%)
CIE-LABlab(63.96, -17.92, 49.67)
CIE-LCHlch(63.96, 52.80, 109.84°)
OKLaboklab(68.32% -0.053 0.1136)
OKLCHoklch(68.32% 0.125 115)
XYZxyz(26.5257, 32.7573, 9.3394)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A23D #483DA2
analogous
#A27A3D #97A23D #64A23D
triadic
#97A23D #3D97A2 #A23D97
tetradic
#97A23D #3DA27A #483DA2 #A23D64
square
#97A23D #3DA27A #483DA2 #A23D64
split-complementary
#97A23D #3D64A2 #7A3DA2
monochromatic
#44491C #6E762C #97A23D #B6C15B #CAD287

Accessibility & contrast

On white

2.78
#97A23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#97A23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A23D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A23D#FFFFFF#000000##000000
##97A23D1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A31
Deuteranopia (green-blind)
#AC9C44
Tritanopia (blue-blind)
#A0998D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a23d;
/* rgb */ color: rgb(151, 162, 61);
/* oklch */ color: oklch(68.3% 0.125 115.0);
Tailwind
colors: {
  custom: {
    50: '#b8bd77',
    500: '#97a23d',
    950: '#000000',
  },
}
SCSS
$custom: #97a23d;
$custom-light: #b8bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#97a23d",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 66.535,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68316,
    "c": 0.12538,
    "h": 115
  },
  "luminance": 0.32757
}

Semantic roles & 50–950 ramp

primary
#97A23D
secondary
#857EBC
accent
#53D561
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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