#97A23F#97A23F

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

Color values

HEX#97A23F
RGBrgb(151, 162, 63)
HSLhsl(67, 44%, 44%)
HSVhsv(67, 61%, 64%)
CMYKcmyk(6.8%, 0%, 61.1%, 36.5%)
CIE-LABlab(63.98, -17.78, 48.80)
CIE-LCHlch(63.98, 51.93, 110.02°)
OKLaboklab(68.34% -0.0524 0.112)
OKLCHoklch(68.34% 0.124 115.1)
XYZxyz(26.5806, 32.7793, 9.6284)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A23F #4A3FA2
analogous
#A27C3F #97A23F #66A23F
triadic
#97A23F #3F97A2 #A23F97
tetradic
#97A23F #3FA27C #4A3FA2 #A23F66
square
#97A23F #3FA27C #4A3FA2 #A23F66
split-complementary
#97A23F #3F66A2 #7C3FA2
monochromatic
#454A1D #6E762E #97A23F #B5C05E #CAD18A

Accessibility & contrast

On white

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

On black

7.56
#97A23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A23F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A23F#FFFFFF#000000##000000
##97A23F1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a23f;
/* rgb */ color: rgb(151, 162, 63);
/* oklch */ color: oklch(68.3% 0.124 115.1);
Tailwind
colors: {
  custom: {
    50: '#b8bd78',
    500: '#97a23f',
    950: '#000000',
  },
}
SCSS
$custom: #97a23f;
$custom-light: #b8bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#97a23f",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 66.667,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68336,
    "c": 0.12369,
    "h": 115.1
  },
  "luminance": 0.32779
}

Semantic roles & 50–950 ramp

primary
#97A23F
secondary
#8781BC
accent
#54D462
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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