#97A139#97A139

#97A139 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.0% C 0.127 H 114.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#97A139
RGBrgb(151, 161, 57)
HSLhsl(66, 48%, 43%)
HSVhsv(66, 65%, 63%)
CMYKcmyk(6.2%, 0%, 64.6%, 36.9%)
CIE-LABlab(63.64, -17.69, 51.06)
CIE-LCHlch(63.64, 54.04, 109.11°)
OKLaboklab(68.05% -0.0528 0.116)
OKLCHoklch(68.05% 0.127 114.5)
XYZxyz(26.2465, 32.3649, 8.7345)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A139 #4339A1
analogous
#A17739 #97A139 #63A139
triadic
#97A139 #3997A1 #A13997
tetradic
#97A139 #39A177 #4339A1 #A13963
square
#97A139 #39A177 #4339A1 #A13963
split-complementary
#97A139 #3963A1 #7739A1
monochromatic
#424719 #6D7429 #97A139 #B8C355 #CBD382

Accessibility & contrast

On white

2.81
#97A139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#97A139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A139
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A139#FFFFFF#000000##000000
##97A1391.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992C
Deuteranopia (green-blind)
#AC9B40
Tritanopia (blue-blind)
#A0988C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a139;
/* rgb */ color: rgb(151, 161, 57);
/* oklch */ color: oklch(68.0% 0.127 114.5);
Tailwind
colors: {
  custom: {
    50: '#b8bc75',
    500: '#97a139',
    950: '#000000',
  },
}
SCSS
$custom: #97a139;
$custom-light: #b8bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#97a139",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 57
  },
  "hsl": {
    "h": 65.769,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68049,
    "c": 0.12743,
    "h": 114.5
  },
  "luminance": 0.32364
}

Semantic roles & 50–950 ramp

primary
#97A139
secondary
#8079BC
accent
#50D75D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A139

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

Preview Lab → · Contrast checker → · Palette generator →

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