#97A138#97A138

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

Color values

HEX#97A138
RGBrgb(151, 161, 56)
HSLhsl(66, 48%, 43%)
HSVhsv(66, 65%, 63%)
CMYKcmyk(6.2%, 0%, 65.2%, 36.9%)
CIE-LABlab(63.64, -17.76, 51.48)
CIE-LCHlch(63.64, 54.45, 109.03°)
OKLaboklab(68.04% -0.0531 0.1167)
OKLCHoklch(68.04% 0.128 114.5)
XYZxyz(26.2218, 32.3550, 8.6044)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A138 #4238A1
analogous
#A17638 #97A138 #63A138
triadic
#97A138 #3897A1 #A13897
tetradic
#97A138 #38A176 #4238A1 #A13863
square
#97A138 #38A176 #4238A1 #A13863
split-complementary
#97A138 #3863A1 #7638A1
monochromatic
#424618 #6C7428 #97A138 #B8C353 #CBD380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A138#FFFFFF#000000##000000
##97A1381.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)
#AC992A
Deuteranopia (green-blind)
#AC9B3F
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a138;
/* rgb */ color: rgb(151, 161, 56);
/* oklch */ color: oklch(68.0% 0.128 114.5);
Tailwind
colors: {
  custom: {
    50: '#b8bc74',
    500: '#97a138',
    950: '#000000',
  },
}
SCSS
$custom: #97a138;
$custom-light: #b8bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#97a138",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 65.714,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6804,
    "c": 0.12822,
    "h": 114.5
  },
  "luminance": 0.32355
}

Semantic roles & 50–950 ramp

primary
#97A138
secondary
#7F78BC
accent
#50D85D
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A138

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

Preview Lab → · Contrast checker → · Palette generator →

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