#97A038#97A038

#97A038 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.8% C 0.127 H 114.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#97A038
RGBrgb(151, 160, 56)
HSLhsl(65, 48%, 42%)
HSVhsv(65, 65%, 63%)
CMYKcmyk(5.6%, 0%, 65%, 37.3%)
CIE-LABlab(63.35, -17.25, 51.18)
CIE-LCHlch(63.35, 54.00, 108.62°)
OKLaboklab(67.81% -0.0517 0.1161)
OKLCHoklch(67.81% 0.127 114)
XYZxyz(26.0478, 32.0069, 8.5464)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A038 #4138A0
analogous
#A07538 #97A038 #63A038
triadic
#97A038 #3897A0 #A03897
tetradic
#97A038 #38A075 #4138A0 #A03863
square
#97A038 #38A075 #4138A0 #A03863
split-complementary
#97A038 #3863A0 #7538A0
monochromatic
#414518 #6C7328 #97A038 #B9C353 #CBD380

Accessibility & contrast

On white

2.84
#97A038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#97A038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A038
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A038#FFFFFF#000000##000000
##97A0381.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#AB9A3F
Tritanopia (blue-blind)
#A1978B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a038;
/* rgb */ color: rgb(151, 160, 56);
/* oklch */ color: oklch(67.8% 0.127 114.0);
Tailwind
colors: {
  custom: {
    50: '#b8bc74',
    500: '#97a038',
    950: '#000000',
  },
}
SCSS
$custom: #97a038;
$custom-light: #b8bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#97a038",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 65.192,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6781,
    "c": 0.12705,
    "h": 114
  },
  "luminance": 0.32006
}

Semantic roles & 50–950 ramp

primary
#97A038
secondary
#7E78BC
accent
#50D85C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #97A038

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

Preview Lab → · Contrast checker → · Palette generator →

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