#97A42E#97A42E

#97A42E is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.139 H 115.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#97A42E
RGBrgb(151, 164, 46)
HSLhsl(67, 56%, 41%)
HSVhsv(67, 72%, 64%)
CMYKcmyk(7.9%, 0%, 72%, 35.7%)
CIE-LABlab(64.43, -19.89, 56.25)
CIE-LCHlch(64.43, 59.66, 109.47°)
OKLaboklab(68.65% -0.0601 0.1251)
OKLCHoklch(68.65% 0.139 115.6)
XYZxyz(26.5318, 33.3279, 7.6195)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A42E #3B2EA4
analogous
#A4762E #97A42E #5CA42E
triadic
#97A42E #2E97A4 #A42E97
tetradic
#97A42E #2EA476 #3B2EA4 #A42E5C
square
#97A42E #2EA476 #3B2EA4 #A42E5C
split-complementary
#97A42E #2E5CA4 #762EA4
monochromatic
#3F4413 #6B7421 #97A42E #BCCB45 #CDD874

Accessibility & contrast

On white

2.74
#97A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#97A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A42E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A42E#FFFFFF#000000##000000
##97A42E1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B19
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A19A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a42e;
/* rgb */ color: rgb(151, 164, 46);
/* oklch */ color: oklch(68.7% 0.139 115.6);
Tailwind
colors: {
  custom: {
    50: '#b9be6f',
    500: '#97a42e',
    950: '#000000',
  },
}
SCSS
$custom: #97a42e;
$custom-light: #b9be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a42e",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 66.61,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6865,
    "c": 0.13879,
    "h": 115.6
  },
  "luminance": 0.33327
}

Semantic roles & 50–950 ramp

primary
#97A42E
secondary
#776EC0
accent
#48DF59
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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