#757D20#757D20

#757D20 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.114 H 114.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#757D20
RGBrgb(117, 125, 32)
HSLhsl(65, 59%, 31%)
HSVhsv(65, 74%, 49%)
CMYKcmyk(6.4%, 0%, 74.4%, 51%)
CIE-LABlab(50.16, -15.39, 46.70)
CIE-LCHlch(50.16, 49.18, 108.24°)
OKLaboklab(56.51% -0.0469 0.1036)
OKLCHoklch(56.51% 0.114 114.4)
XYZxyz(14.9309, 18.5537, 4.1609)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D20 #28207D
analogous
#7D5620 #757D20 #467D20
triadic
#757D20 #20757D #7D2075
tetradic
#757D20 #207D56 #28207D #7D2046
square
#757D20 #207D56 #28207D #7D2046
split-complementary
#757D20 #20467D #56207D
monochromatic
#1A1C07 #474C14 #757D20 #A3AE2C #C4D047

Accessibility & contrast

On white

4.46
#757D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#757D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D20
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D20#FFFFFF#000000##000000
##757D201.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86770F
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#7D756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d20;
/* rgb */ color: rgb(117, 125, 32);
/* oklch */ color: oklch(56.5% 0.114 114.4);
Tailwind
colors: {
  custom: {
    50: '#a0a263',
    500: '#757d20',
    950: '#000000',
  },
}
SCSS
$custom: #757d20;
$custom-light: #a0a263;
$custom-dark: #000000;
JSON
{
  "hex": "#757d20",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 65.161,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.11373,
    "h": 114.4
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#757D20
secondary
#5249B0
accent
#45E253
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #757D20

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

Preview Lab → · Contrast checker → · Palette generator →

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