#757D2C#757D2C

#757D2C is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.105 H 114.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#757D2C
RGBrgb(117, 125, 44)
HSLhsl(66, 48%, 33%)
HSVhsv(66, 65%, 49%)
CMYKcmyk(6.4%, 0%, 64.8%, 51%)
CIE-LABlab(50.25, -14.62, 41.75)
CIE-LCHlch(50.25, 44.24, 109.30°)
OKLaboklab(56.61% -0.0435 0.0952)
OKLCHoklch(56.61% 0.105 114.6)
XYZxyz(15.1247, 18.6312, 5.1818)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D2C #342C7D
analogous
#7D5C2C #757D2C #4C7D2C
triadic
#757D2C #2C757D #7D2C75
tetradic
#757D2C #2C7D5C #342C7D #7D2C4C
square
#757D2C #2C7D5C #342C7D #7D2C4C
split-complementary
#757D2C #2C4C7D #5C2C7D
monochromatic
#20220C #4B501C #757D2C #9FAA3C #BCC65D

Accessibility & contrast

On white

4.44
#757D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#757D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D2C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D2C#FFFFFF#000000##000000
##757D2C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#7C766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757d2c;
/* rgb */ color: rgb(117, 125, 44);
/* oklch */ color: oklch(56.6% 0.105 114.6);
Tailwind
colors: {
  custom: {
    50: '#9fa269',
    500: '#757d2c',
    950: '#000000',
  },
}
SCSS
$custom: #757d2c;
$custom-light: #9fa269;
$custom-dark: #000000;
JSON
{
  "hex": "#757d2c",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 65.926,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.10466,
    "h": 114.6
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#757D2C
secondary
#6159AC
accent
#50D85E
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #757D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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