#757A2F#757A2F

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

Color values

HEX#757A2F
RGBrgb(117, 122, 47)
HSLhsl(64, 44%, 33%)
HSVhsv(64, 61%, 48%)
CMYKcmyk(4.1%, 0%, 61.5%, 52.2%)
CIE-LABlab(49.38, -12.77, 39.41)
CIE-LCHlch(49.38, 41.42, 107.96°)
OKLaboklab(55.92% -0.0379 0.0907)
OKLCHoklch(55.92% 0.098 112.7)
XYZxyz(14.8091, 17.9065, 5.3650)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757A2F #342F7A
analogous
#7A592F #757A2F #4F7A2F
triadic
#757A2F #2F757A #7A2F75
tetradic
#757A2F #2F7A59 #342F7A #7A2F4F
square
#757A2F #2F7A59 #342F7A #7A2F4F
split-complementary
#757A2F #2F4F7A #592F7A
monochromatic
#20220D #4B4E1E #757A2F #9FA640 #BCC261

Accessibility & contrast

On white

4.58
#757A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#757A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757A2F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757A2F#FFFFFF#000000##000000
##757A2F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837427
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#7D736A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #757a2f;
/* rgb */ color: rgb(117, 122, 47);
/* oklch */ color: oklch(55.9% 0.098 112.7);
Tailwind
colors: {
  custom: {
    50: '#9fa06b',
    500: '#757a2f',
    950: '#000000',
  },
}
SCSS
$custom: #757a2f;
$custom-light: #9fa06b;
$custom-dark: #000000;
JSON
{
  "hex": "#757a2f",
  "rgb": {
    "r": 117,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 64,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.09828,
    "h": 112.7
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#757A2F
secondary
#615CA9
accent
#54D45C
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #757A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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