#757A20#757A20

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

Color values

HEX#757A20
RGBrgb(117, 122, 32)
HSLhsl(63, 58%, 30%)
HSVhsv(63, 74%, 48%)
CMYKcmyk(4.1%, 0%, 73.8%, 52.2%)
CIE-LABlab(49.26, -13.78, 45.83)
CIE-LCHlch(49.26, 47.86, 106.73°)
OKLaboklab(55.79% -0.0424 0.1018)
OKLCHoklch(55.79% 0.11 112.6)
XYZxyz(14.5568, 17.8056, 4.0362)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757A20 #25207A
analogous
#7A5220 #757A20 #487A20
triadic
#757A20 #20757A #7A2075
tetradic
#757A20 #207A52 #25207A #7A2048
square
#757A20 #207A52 #25207A #7A2048
split-complementary
#757A20 #20487A #52207A
monochromatic
#181907 #474A13 #757A20 #A3AA2D #C7CE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757A20#FFFFFF#000000##FFFFFF
##757A201.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)
#847410
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#7D7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #757a20;
/* rgb */ color: rgb(117, 122, 32);
/* oklch */ color: oklch(55.8% 0.110 112.6);
Tailwind
colors: {
  custom: {
    50: '#a0a062',
    500: '#757a20',
    950: '#000000',
  },
}
SCSS
$custom: #757a20;
$custom-light: #a0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#757a20",
  "rgb": {
    "r": 117,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 63.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.11025,
    "h": 112.6
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#757A20
secondary
#4E49AD
accent
#46E24F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #757A20

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

Preview Lab → · Contrast checker → · Palette generator →

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