#757E31#757E31

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

Color values

HEX#757E31
RGBrgb(117, 126, 49)
HSLhsl(67, 44%, 34%)
HSVhsv(67, 61%, 49%)
CMYKcmyk(7.1%, 0%, 61.1%, 50.6%)
CIE-LABlab(50.60, -14.77, 39.79)
CIE-LCHlch(50.60, 42.45, 110.37°)
OKLaboklab(56.9% -0.0434 0.0918)
OKLCHoklch(56.9% 0.101 115.3)
XYZxyz(15.3517, 18.9256, 5.7494)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E31 #3A317E
analogous
#7E6131 #757E31 #4F7E31
triadic
#757E31 #31757E #7E3175
tetradic
#757E31 #317E61 #3A317E #7E314F
square
#757E31 #317E61 #3A317E #7E314F
split-complementary
#757E31 #314F7E #61317E
monochromatic
#23260F #4C5220 #757E31 #9EAA42 #B9C366

Accessibility & contrast

On white

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

On black

4.79
#757E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757E31
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757E31#FFFFFF#000000##000000
##757E311.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #757e31;
/* rgb */ color: rgb(117, 126, 49);
/* oklch */ color: oklch(56.9% 0.101 115.3);
Tailwind
colors: {
  custom: {
    50: '#9fa36c',
    500: '#757e31',
    950: '#000000',
  },
}
SCSS
$custom: #757e31;
$custom-light: #9fa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#757e31",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 67.013,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.10149,
    "h": 115.3
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#757E31
secondary
#6960AB
accent
#54D463
background
#FAFAF6
surface
#F3F3EC
border
#CDCDC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #757E31

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

Preview Lab → · Contrast checker → · Palette generator →

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