#757D21#757D21

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

Color values

HEX#757D21
RGBrgb(117, 125, 33)
HSLhsl(65, 58%, 31%)
HSVhsv(65, 74%, 49%)
CMYKcmyk(6.4%, 0%, 73.6%, 51%)
CIE-LABlab(50.17, -15.34, 46.33)
CIE-LCHlch(50.17, 48.80, 108.32°)
OKLaboklab(56.52% -0.0467 0.103)
OKLCHoklch(56.52% 0.113 114.4)
XYZxyz(14.9447, 18.5592, 4.2336)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D21 #29217D
analogous
#7D5721 #757D21 #477D21
triadic
#757D21 #21757D #7D2175
tetradic
#757D21 #217D57 #29217D #7D2147
square
#757D21 #217D57 #29217D #7D2147
split-complementary
#757D21 #21477D #57217D
monochromatic
#1A1C07 #484D14 #757D21 #A2AD2E #C3CF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757D21#FFFFFF#000000##000000
##757D211.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)
#867711
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#7D756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d21;
/* rgb */ color: rgb(117, 125, 33);
/* oklch */ color: oklch(56.5% 0.113 114.4);
Tailwind
colors: {
  custom: {
    50: '#a0a263',
    500: '#757d21',
    950: '#000000',
  },
}
SCSS
$custom: #757d21;
$custom-light: #a0a263;
$custom-dark: #000000;
JSON
{
  "hex": "#757d21",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 65.217,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.11306,
    "h": 114.4
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#757D21
secondary
#534AB0
accent
#46E154
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #757D21

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

Preview Lab → · Contrast checker → · Palette generator →

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