#97A042#97A042

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

Color values

HEX#97A042
RGBrgb(151, 160, 66)
HSLhsl(66, 42%, 44%)
HSVhsv(66, 59%, 63%)
CMYKcmyk(5.6%, 0%, 58.8%, 37.3%)
CIE-LABlab(63.44, -16.51, 46.83)
CIE-LCHlch(63.44, 49.66, 109.42°)
OKLaboklab(67.91% -0.0486 0.1082)
OKLCHoklch(67.91% 0.119 114.2)
XYZxyz(26.3172, 32.1147, 9.9656)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A042 #4B42A0
analogous
#A07A42 #97A042 #68A042
triadic
#97A042 #4297A0 #A04297
tetradic
#97A042 #42A07A #4B42A0 #A04268
square
#97A042 #42A07A #4B42A0 #A04268
split-complementary
#97A042 #4268A0 #7A42A0
monochromatic
#45491E #6E7530 #97A042 #B5BE61 #C9D08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A042#FFFFFF#000000##000000
##97A0421.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)
#AB9938
Deuteranopia (green-blind)
#AA9B48
Tritanopia (blue-blind)
#A0978C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a042;
/* rgb */ color: rgb(151, 160, 66);
/* oklch */ color: oklch(67.9% 0.119 114.2);
Tailwind
colors: {
  custom: {
    50: '#b8bc7a',
    500: '#97a042',
    950: '#000000',
  },
}
SCSS
$custom: #97a042;
$custom-light: #b8bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a042",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 65.745,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6791,
    "c": 0.11863,
    "h": 114.2
  },
  "luminance": 0.32114
}

Semantic roles & 50–950 ramp

primary
#97A042
secondary
#8883BB
accent
#56D162
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #97A042

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

Preview Lab → · Contrast checker → · Palette generator →

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