#97A027#97A027

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

Color values

HEX#97A027
RGBrgb(151, 160, 39)
HSLhsl(64, 61%, 39%)
HSVhsv(64, 76%, 63%)
CMYKcmyk(5.6%, 0%, 75.6%, 37.3%)
CIE-LABlab(63.23, -18.20, 57.59)
CIE-LCHlch(63.23, 60.39, 107.54°)
OKLaboklab(67.68% -0.056 0.1267)
OKLCHoklch(67.68% 0.139 113.8)
XYZxyz(25.7003, 31.8679, 6.7163)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A027 #3027A0
analogous
#A06D27 #97A027 #5BA027
triadic
#97A027 #2797A0 #A02797
tetradic
#97A027 #27A06D #3027A0 #A0275B
square
#97A027 #27A06D #3027A0 #A0275B
split-complementary
#97A027 #275BA0 #6D27A0
monochromatic
#3A3E0F #696F1B #97A027 #C3CE36 #D2DA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A027#FFFFFF#000000##000000
##97A0271.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)
#AC980B
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a027;
/* rgb */ color: rgb(151, 160, 39);
/* oklch */ color: oklch(67.7% 0.139 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb6b',
    500: '#97a027',
    950: '#000000',
  },
}
SCSS
$custom: #97a027;
$custom-light: #b9bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a027",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 64.463,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67681,
    "c": 0.13853,
    "h": 113.8
  },
  "luminance": 0.31867
}

Semantic roles & 50–950 ramp

primary
#97A027
secondary
#6A63C0
accent
#44E450
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97A027

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

Preview Lab → · Contrast checker → · Palette generator →

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