#757E28#757E28

#757E28 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.109 H 115.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#757E28
RGBrgb(117, 126, 40)
HSLhsl(66, 52%, 33%)
HSVhsv(66, 68%, 49%)
CMYKcmyk(7.1%, 0%, 68.3%, 50.6%)
CIE-LABlab(50.52, -15.44, 43.81)
CIE-LCHlch(50.52, 46.45, 109.42°)
OKLaboklab(56.81% -0.0462 0.0989)
OKLCHoklch(56.81% 0.109 115.1)
XYZxyz(15.1803, 18.8571, 4.8472)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E28 #31287E
analogous
#7E5C28 #757E28 #4A7E28
triadic
#757E28 #28757E #7E2875
tetradic
#757E28 #287E5C #31287E #7E284A
square
#757E28 #287E5C #31287E #7E284A
split-complementary
#757E28 #284A7E #5C287E
monochromatic
#1F210B #4A5019 #757E28 #A0AC37 #BECA57

Accessibility & contrast

On white

4.40
#757E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#757E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757E28
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757E28#FFFFFF#000000##000000
##757E281.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#7D776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757e28;
/* rgb */ color: rgb(117, 126, 40);
/* oklch */ color: oklch(56.8% 0.109 115.1);
Tailwind
colors: {
  custom: {
    50: '#9fa367',
    500: '#757e28',
    950: '#000000',
  },
}
SCSS
$custom: #757e28;
$custom-light: #9fa367;
$custom-dark: #000000;
JSON
{
  "hex": "#757e28",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 66.279,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.10917,
    "h": 115.1
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#757E28
secondary
#5D53AF
accent
#4DDB5B
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #757E28

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

Preview Lab → · Contrast checker → · Palette generator →

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