#757C2F#757C2F

#757C2F is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.101 H 114.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#757C2F
RGBrgb(117, 124, 47)
HSLhsl(65, 45%, 34%)
HSVhsv(65, 62%, 49%)
CMYKcmyk(5.6%, 0%, 62.1%, 51.4%)
CIE-LABlab(49.98, -13.86, 40.06)
CIE-LCHlch(49.98, 42.39, 109.08°)
OKLaboklab(56.4% -0.041 0.0921)
OKLCHoklch(56.4% 0.101 114)
XYZxyz(15.0572, 18.4027, 5.4477)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757C2F #362F7C
analogous
#7C5C2F #757C2F #4E7C2F
triadic
#757C2F #2F757C #7C2F75
tetradic
#757C2F #2F7C5C #362F7C #7C2F4E
square
#757C2F #2F7C5C #362F7C #7C2F4E
split-complementary
#757C2F #2F4E7C #5C2F7C
monochromatic
#21230D #4B501E #757C2F #9FA840 #BBC362

Accessibility & contrast

On white

4.49
#757C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#757C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757C2F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757C2F#FFFFFF#000000##000000
##757C2F1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857626
Deuteranopia (green-blind)
#847834
Tritanopia (blue-blind)
#7C756C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757c2f;
/* rgb */ color: rgb(117, 124, 47);
/* oklch */ color: oklch(56.4% 0.101 114.0);
Tailwind
colors: {
  custom: {
    50: '#9fa16b',
    500: '#757c2f',
    950: '#000000',
  },
}
SCSS
$custom: #757c2f;
$custom-light: #9fa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#757c2f",
  "rgb": {
    "r": 117,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 65.455,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.10077,
    "h": 114
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#757C2F
secondary
#645CAA
accent
#53D55F
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #757C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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