#757D31#757D31

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

Color values

HEX#757D31
RGBrgb(117, 125, 49)
HSLhsl(66, 44%, 34%)
HSVhsv(66, 61%, 49%)
CMYKcmyk(6.4%, 0%, 60.8%, 51%)
CIE-LABlab(50.30, -14.23, 39.46)
CIE-LCHlch(50.30, 41.95, 109.83°)
OKLaboklab(56.66% -0.0418 0.0911)
OKLCHoklch(56.66% 0.1 114.7)
XYZxyz(15.2244, 18.6711, 5.7070)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D31 #39317D
analogous
#7D5F31 #757D31 #4F7D31
triadic
#757D31 #31757D #7D3175
tetradic
#757D31 #317D5F #39317D #7D314F
square
#757D31 #317D5F #39317D #7D314F
split-complementary
#757D31 #314F7D #5F317D
monochromatic
#23250F #4C5120 #757D31 #9EA942 #B9C366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757D31#FFFFFF#000000##000000
##757D311.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)
#867729
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#7C766D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757d31;
/* rgb */ color: rgb(117, 125, 49);
/* oklch */ color: oklch(56.7% 0.100 114.7);
Tailwind
colors: {
  custom: {
    50: '#9fa26c',
    500: '#757d31',
    950: '#000000',
  },
}
SCSS
$custom: #757d31;
$custom-light: #9fa26c;
$custom-dark: #000000;
JSON
{
  "hex": "#757d31",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 66.316,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.10021,
    "h": 114.7
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#757D31
secondary
#6760AA
accent
#54D362
background
#F9F9F6
surface
#F2F2EC
border
#CCCCC7
text
#0F0F07
muted
#7E7E7A

Preview Lab

Preview with #757D31

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

Preview Lab → · Contrast checker → · Palette generator →

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