#757C20#757C20

#757C20 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.113 H 113.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#757C20
RGBrgb(117, 124, 32)
HSLhsl(65, 59%, 31%)
HSVhsv(65, 74%, 49%)
CMYKcmyk(5.6%, 0%, 74.2%, 51.4%)
CIE-LABlab(49.86, -14.86, 46.41)
CIE-LCHlch(49.86, 48.73, 107.75°)
OKLaboklab(56.27% -0.0454 0.103)
OKLCHoklch(56.27% 0.113 113.8)
XYZxyz(14.8049, 18.3018, 4.1189)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757C20 #27207C
analogous
#7C5520 #757C20 #477C20
triadic
#757C20 #20757C #7C2075
tetradic
#757C20 #207C55 #27207C #7C2047
square
#757C20 #207C55 #27207C #7C2047
split-complementary
#757C20 #20477C #55207C
monochromatic
#191B07 #474B13 #757C20 #A3AD2D #C5CF47

Accessibility & contrast

On white

4.51
#757C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#757C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757C20
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757C20#FFFFFF#000000##000000
##757C201.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85760F
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#7D746A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757c20;
/* rgb */ color: rgb(117, 124, 32);
/* oklch */ color: oklch(56.3% 0.113 113.8);
Tailwind
colors: {
  custom: {
    50: '#a0a162',
    500: '#757c20',
    950: '#000000',
  },
}
SCSS
$custom: #757c20;
$custom-light: #a0a162;
$custom-dark: #000000;
JSON
{
  "hex": "#757c20",
  "rgb": {
    "r": 117,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 64.565,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.11256,
    "h": 113.8
  },
  "luminance": 0.18301
}

Semantic roles & 50–950 ramp

primary
#757C20
secondary
#5149AF
accent
#46E252
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #757C20

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

Preview Lab → · Contrast checker → · Palette generator →

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