#97A43F#97A43F

#97A43F is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.126 H 116.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#97A43F
RGBrgb(151, 164, 63)
HSLhsl(68, 44%, 45%)
HSVhsv(68, 62%, 64%)
CMYKcmyk(7.9%, 0%, 61.6%, 35.7%)
CIE-LABlab(64.56, -18.80, 49.42)
CIE-LCHlch(64.56, 52.88, 110.83°)
OKLaboklab(68.8% -0.0553 0.1134)
OKLCHoklch(68.8% 0.126 116)
XYZxyz(26.9357, 33.4895, 9.7468)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A43F #4C3FA4
analogous
#A47F3F #97A43F #65A43F
triadic
#97A43F #3F97A4 #A43F97
tetradic
#97A43F #3FA47F #4C3FA4 #A43F65
square
#97A43F #3FA47F #4C3FA4 #A43F65
split-complementary
#97A43F #3F65A4 #7F3FA4
monochromatic
#464C1D #6E782E #97A43F #B5C15F #C9D28B

Accessibility & contrast

On white

2.73
#97A43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#97A43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A43F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A43F#FFFFFF#000000##000000
##97A43F1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C33
Deuteranopia (green-blind)
#AE9D46
Tritanopia (blue-blind)
#A09B8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a43f;
/* rgb */ color: rgb(151, 164, 63);
/* oklch */ color: oklch(68.8% 0.126 116.0);
Tailwind
colors: {
  custom: {
    50: '#b8be78',
    500: '#97a43f',
    950: '#000000',
  },
}
SCSS
$custom: #97a43f;
$custom-light: #b8be78;
$custom-dark: #000000;
JSON
{
  "hex": "#97a43f",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 63
  },
  "hsl": {
    "h": 67.723,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68796,
    "c": 0.12612,
    "h": 116
  },
  "luminance": 0.33489
}

Semantic roles & 50–950 ramp

primary
#97A43F
secondary
#8982BD
accent
#54D464
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A43F

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

Preview Lab → · Contrast checker → · Palette generator →

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