#757B31#757B31

#757B31 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.098 H 113.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#757B31
RGBrgb(117, 123, 49)
HSLhsl(65, 43%, 34%)
HSVhsv(65, 60%, 48%)
CMYKcmyk(4.9%, 0%, 60.2%, 51.8%)
CIE-LABlab(49.70, -13.15, 38.80)
CIE-LCHlch(49.70, 40.97, 108.73°)
OKLaboklab(56.18% -0.0388 0.0896)
OKLCHoklch(56.18% 0.098 113.4)
XYZxyz(14.9738, 18.1698, 5.6235)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B31 #37317B
analogous
#7B5C31 #757B31 #507B31
triadic
#757B31 #31757B #7B3175
tetradic
#757B31 #317B5C #37317B #7B3150
square
#757B31 #317B5C #37317B #7B3150
split-complementary
#757B31 #31507B #5C317B
monochromatic
#22230E #4B4F20 #757B31 #9FA742 #BAC265

Accessibility & contrast

On white

4.53
#757B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#757B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B31
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B31#FFFFFF#000000##000000
##757B311.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847529
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#7C746B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b31;
/* rgb */ color: rgb(117, 123, 49);
/* oklch */ color: oklch(56.2% 0.098 113.4);
Tailwind
colors: {
  custom: {
    50: '#9fa16c',
    500: '#757b31',
    950: '#000000',
  },
}
SCSS
$custom: #757b31;
$custom-light: #9fa16c;
$custom-dark: #000000;
JSON
{
  "hex": "#757b31",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 64.865,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.09766,
    "h": 113.4
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#757B31
secondary
#655FA9
accent
#55D35F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E07
muted
#7E7E7A

Preview Lab

Preview with #757B31

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

Preview Lab → · Contrast checker → · Palette generator →

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