#757828#757828

#757828 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.4% C 0.102 H 111.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#757828
RGBrgb(117, 120, 40)
HSLhsl(62, 50%, 31%)
HSVhsv(62, 67%, 47%)
CMYKcmyk(2.5%, 0%, 66.7%, 52.9%)
CIE-LABlab(48.72, -12.20, 41.94)
CIE-LCHlch(48.72, 43.67, 106.22°)
OKLaboklab(55.37% -0.0371 0.095)
OKLCHoklch(55.37% 0.102 111.4)
XYZxyz(14.4360, 17.3684, 4.5991)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757828 #2B2878
analogous
#785328 #757828 #4D7828
triadic
#757828 #287578 #782875
tetradic
#757828 #287853 #2B2878 #78284D
square
#757828 #287853 #2B2878 #78284D
split-complementary
#757828 #284D78 #532878
monochromatic
#1B1C09 #484A19 #757828 #A2A637 #C2C654

Accessibility & contrast

On white

4.69
#757828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#757828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757828
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757828#FFFFFF#000000##FFFFFF
##7578281.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731D
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#7D7168
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #757828;
/* rgb */ color: rgb(117, 120, 40);
/* oklch */ color: oklch(55.4% 0.102 111.4);
Tailwind
colors: {
  custom: {
    50: '#9f9e66',
    500: '#757828',
    950: '#000000',
  },
}
SCSS
$custom: #757828;
$custom-light: #9f9e66;
$custom-dark: #000000;
JSON
{
  "hex": "#757828",
  "rgb": {
    "r": 117,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 62.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55374,
    "c": 0.10195,
    "h": 111.4
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#757828
secondary
#5552AA
accent
#4EDA54
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757828

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

Preview Lab → · Contrast checker → · Palette generator →

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