#757A28#757A28

#757A28 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.104 H 112.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#757A28
RGBrgb(117, 122, 40)
HSLhsl(64, 51%, 32%)
HSVhsv(64, 67%, 48%)
CMYKcmyk(4.1%, 0%, 67.2%, 52.2%)
CIE-LABlab(49.32, -13.29, 42.56)
CIE-LCHlch(49.32, 44.59, 107.34°)
OKLaboklab(55.85% -0.0402 0.0963)
OKLCHoklch(55.85% 0.104 112.7)
XYZxyz(14.6791, 17.8545, 4.6801)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757A28 #2D287A
analogous
#7A5628 #757A28 #4C7A28
triadic
#757A28 #28757A #7A2875
tetradic
#757A28 #287A56 #2D287A #7A284C
square
#757A28 #287A56 #2D287A #7A284C
split-complementary
#757A28 #284C7A #56287A
monochromatic
#1D1E0A #494C19 #757A28 #A1A837 #C0C755

Accessibility & contrast

On white

4.59
#757A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#757A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #757A28
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757A28#FFFFFF#000000##FFFFFF
##757A281.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#7D7369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #757a28;
/* rgb */ color: rgb(117, 122, 40);
/* oklch */ color: oklch(55.9% 0.104 112.7);
Tailwind
colors: {
  custom: {
    50: '#9fa067',
    500: '#757a28',
    950: '#000000',
  },
}
SCSS
$custom: #757a28;
$custom-light: #9fa067;
$custom-dark: #000000;
JSON
{
  "hex": "#757a28",
  "rgb": {
    "r": 117,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 63.659,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.10432,
    "h": 112.7
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#757A28
secondary
#5752AC
accent
#4EDA56
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757A28

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

Preview Lab → · Contrast checker → · Palette generator →

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