#757221#757221

#757221 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.9% C 0.101 H 107.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#757221
RGBrgb(117, 114, 33)
HSLhsl(58, 56%, 29%)
HSVhsv(58, 72%, 46%)
CMYKcmyk(0%, 2.6%, 71.8%, 54.1%)
CIE-LABlab(46.88, -9.33, 43.08)
CIE-LCHlch(46.88, 44.08, 102.21°)
OKLaboklab(53.89% -0.0298 0.0962)
OKLCHoklch(53.89% 0.101 107.2)
XYZxyz(13.6285, 15.9268, 3.7948)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757221 #212475
analogous
#754821 #757221 #4E7521
triadic
#757221 #217572 #722175
tetradic
#757221 #217548 #212475 #75214E
square
#757221 #217548 #212475 #75214E
split-complementary
#757221 #214E75 #482175
monochromatic
#181707 #454314 #757221 #A5A12E #CBC646

Accessibility & contrast

On white

5.02
#757221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#757221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757221
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757221#FFFFFF#000000##FFFFFF
##7572211.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D14
Deuteranopia (green-blind)
#7D7127
Tritanopia (blue-blind)
#7E6A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757221;
/* rgb */ color: rgb(117, 114, 33);
/* oklch */ color: oklch(53.9% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#9f9a62',
    500: '#757221',
    950: '#000000',
  },
}
SCSS
$custom: #757221;
$custom-light: #9f9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#757221",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 57.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.10067,
    "h": 107.2
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#757221
secondary
#4A4DA8
accent
#4EDF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #757221

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

Preview Lab → · Contrast checker → · Palette generator →

#757221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva