#757A22#757A22

#757A22 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.109 H 112.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#757A22
RGBrgb(117, 122, 34)
HSLhsl(63, 56%, 31%)
HSVhsv(63, 72%, 48%)
CMYKcmyk(4.1%, 0%, 72.1%, 52.2%)
CIE-LABlab(49.27, -13.66, 45.05)
CIE-LCHlch(49.27, 47.08, 106.87°)
OKLaboklab(55.8% -0.0419 0.1005)
OKLCHoklch(55.8% 0.109 112.6)
XYZxyz(14.5848, 17.8168, 4.1838)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757A22 #27227A
analogous
#7A5322 #757A22 #497A22
triadic
#757A22 #22757A #7A2275
tetradic
#757A22 #227A53 #27227A #7A2249
square
#757A22 #227A53 #27227A #7A2249
split-complementary
#757A22 #22497A #53227A
monochromatic
#191A07 #474A15 #757A22 #A3AA2F #C5CD4A

Accessibility & contrast

On white

4.60
#757A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#757A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #757A22
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757A22#FFFFFF#000000##FFFFFF
##757A221.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#7D7269
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #757a22;
/* rgb */ color: rgb(117, 122, 34);
/* oklch */ color: oklch(55.8% 0.109 112.6);
Tailwind
colors: {
  custom: {
    50: '#9fa063',
    500: '#757a22',
    950: '#000000',
  },
}
SCSS
$custom: #757a22;
$custom-light: #9fa063;
$custom-dark: #000000;
JSON
{
  "hex": "#757a22",
  "rgb": {
    "r": 117,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 63.409,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.558,
    "c": 0.10887,
    "h": 112.6
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#757A22
secondary
#514BAD
accent
#48E051
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757A22

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

Preview Lab → · Contrast checker → · Palette generator →

#757A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva