#757D2F#757D2F

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

Color values

HEX#757D2F
RGBrgb(117, 125, 47)
HSLhsl(66, 45%, 34%)
HSVhsv(66, 62%, 49%)
CMYKcmyk(6.4%, 0%, 62.4%, 51%)
CIE-LABlab(50.28, -14.40, 40.39)
CIE-LCHlch(50.28, 42.88, 109.62°)
OKLaboklab(56.64% -0.0425 0.0928)
OKLCHoklch(56.64% 0.102 114.6)
XYZxyz(15.1832, 18.6546, 5.4896)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D2F #372F7D
analogous
#7D5E2F #757D2F #4E7D2F
triadic
#757D2F #2F757D #7D2F75
tetradic
#757D2F #2F7D5E #372F7D #7D2F4E
square
#757D2F #2F7D5E #372F7D #7D2F4E
split-complementary
#757D2F #2F4E7D #5E2F7D
monochromatic
#22240E #4B511E #757D2F #9FA940 #BAC462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757D2F#FFFFFF#000000##000000
##757D2F1.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)
#867726
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#7C766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757d2f;
/* rgb */ color: rgb(117, 125, 47);
/* oklch */ color: oklch(56.6% 0.102 114.6);
Tailwind
colors: {
  custom: {
    50: '#9fa26b',
    500: '#757d2f',
    950: '#000000',
  },
}
SCSS
$custom: #757d2f;
$custom-light: #9fa26b;
$custom-dark: #000000;
JSON
{
  "hex": "#757d2f",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 66.154,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.10203,
    "h": 114.6
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

primary
#757D2F
secondary
#655DAB
accent
#53D560
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #757D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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