#97A03F#97A03F

#97A03F is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.121 H 114.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#97A03F
RGBrgb(151, 160, 63)
HSLhsl(66, 43%, 44%)
HSVhsv(66, 61%, 63%)
CMYKcmyk(5.6%, 0%, 60.6%, 37.3%)
CIE-LABlab(63.41, -16.75, 48.17)
CIE-LCHlch(63.41, 51.00, 109.17°)
OKLaboklab(67.88% -0.0495 0.1107)
OKLCHoklch(67.88% 0.121 114.1)
XYZxyz(26.2311, 32.0803, 9.5119)
Luminance0.3208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A03F #483FA0
analogous
#A0783F #97A03F #66A03F
triadic
#97A03F #3F97A0 #A03F97
tetradic
#97A03F #3FA078 #483FA0 #A03F66
square
#97A03F #3FA078 #483FA0 #A03F66
split-complementary
#97A03F #3F66A0 #783FA0
monochromatic
#44481C #6E742E #97A03F #B6BF5D #CAD089

Accessibility & contrast

On white

2.83
#97A03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#97A03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A03F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A03F#FFFFFF#000000##000000
##97A03F1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9934
Deuteranopia (green-blind)
#AB9A45
Tritanopia (blue-blind)
#A0978B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a03f;
/* rgb */ color: rgb(151, 160, 63);
/* oklch */ color: oklch(67.9% 0.121 114.1);
Tailwind
colors: {
  custom: {
    50: '#b8bc78',
    500: '#97a03f',
    950: '#000000',
  },
}
SCSS
$custom: #97a03f;
$custom-light: #b8bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#97a03f",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 65.567,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67878,
    "c": 0.12128,
    "h": 114.1
  },
  "luminance": 0.3208
}

Semantic roles & 50–950 ramp

primary
#97A03F
secondary
#8580BB
accent
#55D360
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #97A03F

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

Preview Lab → · Contrast checker → · Palette generator →

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