#757128#757128

#757128 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.094 H 106.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#757128
RGBrgb(117, 113, 40)
HSLhsl(57, 49%, 31%)
HSVhsv(57, 66%, 46%)
CMYKcmyk(0%, 3.4%, 65.8%, 54.1%)
CIE-LABlab(46.64, -8.32, 39.74)
CIE-LCHlch(46.64, 40.60, 101.82°)
OKLaboklab(53.71% -0.0262 0.0903)
OKLCHoklch(53.71% 0.094 106.2)
XYZxyz(13.6247, 15.7458, 4.3286)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757128 #282C75
analogous
#754A28 #757128 #527528
triadic
#757128 #287571 #712875
tetradic
#757128 #28754A #282C75 #752852
square
#757128 #28754A #282C75 #752852
split-complementary
#757128 #285275 #4A2875
monochromatic
#1A1909 #474518 #757128 #A39D38 #C4BE53

Accessibility & contrast

On white

5.06
#757128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#757128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757128
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757128#FFFFFF#000000##FFFFFF
##7571281.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1F
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#7E6A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757128;
/* rgb */ color: rgb(117, 113, 40);
/* oklch */ color: oklch(53.7% 0.094 106.2);
Tailwind
colors: {
  custom: {
    50: '#9f9966',
    500: '#757128',
    950: '#000000',
  },
}
SCSS
$custom: #757128;
$custom-light: #9f9966;
$custom-dark: #000000;
JSON
{
  "hex": "#757128",
  "rgb": {
    "r": 117,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 56.883,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.09403,
    "h": 106.2
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#757128
secondary
#5256A7
accent
#56D94F
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #757128

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

Preview Lab → · Contrast checker → · Palette generator →

#757128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva