#97A23E#97A23E

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

Color values

HEX#97A23E
RGBrgb(151, 162, 62)
HSLhsl(67, 45%, 44%)
HSVhsv(67, 62%, 64%)
CMYKcmyk(6.8%, 0%, 61.7%, 36.5%)
CIE-LABlab(63.97, -17.85, 49.23)
CIE-LCHlch(63.97, 52.37, 109.93°)
OKLaboklab(68.33% -0.0527 0.1128)
OKLCHoklch(68.33% 0.125 115.1)
XYZxyz(26.5529, 32.7682, 9.4826)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A23E #493EA2
analogous
#A27B3E #97A23E #65A23E
triadic
#97A23E #3E97A2 #A23E97
tetradic
#97A23E #3EA27B #493EA2 #A23E65
square
#97A23E #3EA27B #493EA2 #A23E65
split-complementary
#97A23E #3E65A2 #7B3EA2
monochromatic
#44491C #6E762D #97A23E #B6C15C #CAD289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A23E#FFFFFF#000000##000000
##97A23E1.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)
#AD9A32
Deuteranopia (green-blind)
#AC9C44
Tritanopia (blue-blind)
#A0998D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a23e;
/* rgb */ color: rgb(151, 162, 62);
/* oklch */ color: oklch(68.3% 0.125 115.1);
Tailwind
colors: {
  custom: {
    50: '#b8bd78',
    500: '#97a23e',
    950: '#000000',
  },
}
SCSS
$custom: #97a23e;
$custom-light: #b8bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#97a23e",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 66.6,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68326,
    "c": 0.12454,
    "h": 115.1
  },
  "luminance": 0.32768
}

Semantic roles & 50–950 ramp

primary
#97A23E
secondary
#8680BC
accent
#53D462
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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