#757D2E#757D2E

#757D2E is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.103 H 114.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#757D2E
RGBrgb(117, 125, 46)
HSLhsl(66, 46%, 34%)
HSVhsv(66, 63%, 49%)
CMYKcmyk(6.4%, 0%, 63.2%, 51%)
CIE-LABlab(50.27, -14.47, 40.85)
CIE-LCHlch(50.27, 43.34, 109.51°)
OKLaboklab(56.63% -0.0428 0.0936)
OKLCHoklch(56.63% 0.103 114.6)
XYZxyz(15.1632, 18.6466, 5.3846)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D2E #362E7D
analogous
#7D5D2E #757D2E #4D7D2E
triadic
#757D2E #2E757D #7D2E75
tetradic
#757D2E #2E7D5D #362E7D #7D2E4D
square
#757D2E #2E7D5D #362E7D #7D2E4D
split-complementary
#757D2E #2E4D7D #5D2E7D
monochromatic
#21240D #4B501E #757D2E #9FAA3E #BBC561

Accessibility & contrast

On white

4.44
#757D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#757D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D2E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D2E#FFFFFF#000000##000000
##757D2E1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#7C766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757d2e;
/* rgb */ color: rgb(117, 125, 46);
/* oklch */ color: oklch(56.6% 0.103 114.6);
Tailwind
colors: {
  custom: {
    50: '#9fa26a',
    500: '#757d2e',
    950: '#000000',
  },
}
SCSS
$custom: #757d2e;
$custom-light: #9fa26a;
$custom-dark: #000000;
JSON
{
  "hex": "#757d2e",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 66.076,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.10292,
    "h": 114.6
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#757D2E
secondary
#645BAB
accent
#52D65F
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #757D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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