#97A229#97A229

#97A229 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.140 H 114.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#97A229
RGBrgb(151, 162, 41)
HSLhsl(65, 60%, 40%)
HSVhsv(65, 75%, 64%)
CMYKcmyk(6.8%, 0%, 74.7%, 36.5%)
CIE-LABlab(63.82, -19.13, 57.45)
CIE-LCHlch(63.82, 60.55, 108.41°)
OKLaboklab(68.16% -0.0584 0.1268)
OKLCHoklch(68.16% 0.14 114.7)
XYZxyz(26.0838, 32.5805, 7.0120)
Luminance0.3258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A229 #3429A2
analogous
#A27129 #97A229 #5AA229
triadic
#97A229 #2997A2 #A22997
tetradic
#97A229 #29A271 #3429A2 #A2295A
square
#97A229 #29A271 #3429A2 #A2295A
split-complementary
#97A229 #295AA2 #7129A2
monochromatic
#3C4010 #69711D #97A229 #C0CD3B #D0DA6C

Accessibility & contrast

On white

2.79
#97A229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#97A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A229
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A229#FFFFFF#000000##000000
##97A2291.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0F
Deuteranopia (green-blind)
#AD9C33
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a229;
/* rgb */ color: rgb(151, 162, 41);
/* oklch */ color: oklch(68.2% 0.140 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9bd6c',
    500: '#97a229',
    950: '#000000',
  },
}
SCSS
$custom: #97a229;
$custom-light: #b9bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a229",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 65.455,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68155,
    "c": 0.13958,
    "h": 114.7
  },
  "luminance": 0.3258
}

Semantic roles & 50–950 ramp

primary
#97A229
secondary
#6F67C0
accent
#45E353
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A229

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

Preview Lab → · Contrast checker → · Palette generator →

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