#757E2F#757E2F

#757E2F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.103 H 115.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#757E2F
RGBrgb(117, 126, 47)
HSLhsl(67, 46%, 34%)
HSVhsv(67, 63%, 49%)
CMYKcmyk(7.1%, 0%, 62.7%, 50.6%)
CIE-LABlab(50.58, -14.93, 40.72)
CIE-LCHlch(50.58, 43.37, 110.14°)
OKLaboklab(56.88% -0.044 0.0934)
OKLCHoklch(56.88% 0.103 115.2)
XYZxyz(15.3104, 18.9091, 5.5321)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E2F #382F7E
analogous
#7E602F #757E2F #4E7E2F
triadic
#757E2F #2F757E #7E2F75
tetradic
#757E2F #2F7E60 #382F7E #7E2F4E
square
#757E2F #2F7E60 #382F7E #7E2F4E
split-complementary
#757E2F #2F4E7E #602F7E
monochromatic
#22250E #4C511E #757E2F #9EAB40 #BAC563

Accessibility & contrast

On white

4.39
#757E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#757E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757E2F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757E2F#FFFFFF#000000##000000
##757E2F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#7C776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757e2f;
/* rgb */ color: rgb(117, 126, 47);
/* oklch */ color: oklch(56.9% 0.103 115.2);
Tailwind
colors: {
  custom: {
    50: '#9fa36b',
    500: '#757e2f',
    950: '#000000',
  },
}
SCSS
$custom: #757e2f;
$custom-light: #9fa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#757e2f",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 66.835,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.10329,
    "h": 115.2
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#757E2F
secondary
#665DAC
accent
#52D561
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #757E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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