#757B20#757B20

#757B20 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.111 H 113.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#757B20
RGBrgb(117, 123, 32)
HSLhsl(64, 59%, 30%)
HSVhsv(64, 74%, 48%)
CMYKcmyk(4.9%, 0%, 74%, 51.8%)
CIE-LABlab(49.56, -14.32, 46.12)
CIE-LCHlch(49.56, 48.29, 107.25°)
OKLaboklab(56.03% -0.0439 0.1024)
OKLCHoklch(56.03% 0.111 113.2)
XYZxyz(14.6802, 18.0524, 4.0774)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B20 #26207B
analogous
#7B5320 #757B20 #477B20
triadic
#757B20 #20757B #7B2075
tetradic
#757B20 #207B53 #26207B #7B2047
square
#757B20 #207B53 #26207B #7B2047
split-complementary
#757B20 #20477B #53207B
monochromatic
#191A07 #474A13 #757B20 #A3AC2D #C6CF46

Accessibility & contrast

On white

4.55
#757B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#757B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B20
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B20#FFFFFF#000000##000000
##757B201.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84750F
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#7D7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b20;
/* rgb */ color: rgb(117, 123, 32);
/* oklch */ color: oklch(56.0% 0.111 113.2);
Tailwind
colors: {
  custom: {
    50: '#a0a162',
    500: '#757b20',
    950: '#000000',
  },
}
SCSS
$custom: #757b20;
$custom-light: #a0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#757b20",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 63.956,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56025,
    "c": 0.11139,
    "h": 113.2
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#757B20
secondary
#4F49AE
accent
#46E250
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #757B20

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

Preview Lab → · Contrast checker → · Palette generator →

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