#757F20#757F20

#757F20 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.0% C 0.116 H 115.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#757F20
RGBrgb(117, 127, 32)
HSLhsl(66, 60%, 31%)
HSVhsv(66, 75%, 50%)
CMYKcmyk(7.9%, 0%, 74.8%, 50.2%)
CIE-LABlab(50.76, -16.46, 47.29)
CIE-LCHlch(50.76, 50.07, 109.19°)
OKLaboklab(56.99% -0.0499 0.1048)
OKLCHoklch(56.99% 0.116 115.4)
XYZxyz(15.1866, 19.0652, 4.2462)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757F20 #2A207F
analogous
#7F5920 #757F20 #457F20
triadic
#757F20 #20757F #7F2075
tetradic
#757F20 #207F59 #2A207F #7F2045
square
#757F20 #207F59 #2A207F #7F2045
split-complementary
#757F20 #20457F #59207F
monochromatic
#1B1D07 #484E14 #757F20 #A2B02C #C3D148

Accessibility & contrast

On white

4.36
#757F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#757F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757F20
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757F20#FFFFFF#000000##000000
##757F201.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#7D776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #757f20;
/* rgb */ color: rgb(117, 127, 32);
/* oklch */ color: oklch(57.0% 0.116 115.4);
Tailwind
colors: {
  custom: {
    50: '#a0a463',
    500: '#757f20',
    950: '#000000',
  },
}
SCSS
$custom: #757f20;
$custom-light: #a0a463;
$custom-dark: #000000;
JSON
{
  "hex": "#757f20",
  "rgb": {
    "r": 117,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 66.316,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.11609,
    "h": 115.4
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#757F20
secondary
#5449B2
accent
#45E356
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #757F20

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

Preview Lab → · Contrast checker → · Palette generator →

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