#757D22#757D22

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

Color values

HEX#757D22
RGBrgb(117, 125, 34)
HSLhsl(65, 57%, 31%)
HSVhsv(65, 73%, 49%)
CMYKcmyk(6.4%, 0%, 72.8%, 51%)
CIE-LABlab(50.17, -15.28, 45.94)
CIE-LCHlch(50.17, 48.42, 108.40°)
OKLaboklab(56.52% -0.0464 0.1024)
OKLCHoklch(56.52% 0.112 114.4)
XYZxyz(14.9589, 18.5649, 4.3084)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D22 #2A227D
analogous
#7D5722 #757D22 #477D22
triadic
#757D22 #22757D #7D2275
tetradic
#757D22 #227D57 #2A227D #7D2247
square
#757D22 #227D57 #2A227D #7D2247
split-complementary
#757D22 #22477D #57227D
monochromatic
#1B1D08 #484D15 #757D22 #A2AD2F #C3CE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757D22#FFFFFF#000000##000000
##757D221.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)
#867712
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#7D756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d22;
/* rgb */ color: rgb(117, 125, 34);
/* oklch */ color: oklch(56.5% 0.112 114.4);
Tailwind
colors: {
  custom: {
    50: '#a0a264',
    500: '#757d22',
    950: '#000000',
  },
}
SCSS
$custom: #757d22;
$custom-light: #a0a264;
$custom-dark: #000000;
JSON
{
  "hex": "#757d22",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 65.275,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.11238,
    "h": 114.4
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#757D22
secondary
#544BB0
accent
#47E055
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #757D22

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

Preview Lab → · Contrast checker → · Palette generator →

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