#757D2A#757D2A

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

Color values

HEX#757D2A
RGBrgb(117, 125, 42)
HSLhsl(66, 50%, 33%)
HSVhsv(66, 66%, 49%)
CMYKcmyk(6.4%, 0%, 66.4%, 51%)
CIE-LABlab(50.24, -14.77, 42.63)
CIE-LCHlch(50.24, 45.12, 109.11°)
OKLaboklab(56.59% -0.0441 0.0968)
OKLCHoklch(56.59% 0.106 114.5)
XYZxyz(15.0880, 18.6166, 4.9886)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D2A #322A7D
analogous
#7D5B2A #757D2A #4B7D2A
triadic
#757D2A #2A757D #7D2A75
tetradic
#757D2A #2A7D5B #322A7D #7D2A4B
square
#757D2A #2A7D5B #322A7D #7D2A4B
split-complementary
#757D2A #2A4B7D #5B2A7D
monochromatic
#1F210B #4A4F1B #757D2A #A0AB39 #BDC85A

Accessibility & contrast

On white

4.45
#757D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#757D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D2A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D2A#FFFFFF#000000##000000
##757D2A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#867830
Tritanopia (blue-blind)
#7D766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757d2a;
/* rgb */ color: rgb(117, 125, 42);
/* oklch */ color: oklch(56.6% 0.106 114.5);
Tailwind
colors: {
  custom: {
    50: '#9fa268',
    500: '#757d2a',
    950: '#000000',
  },
}
SCSS
$custom: #757d2a;
$custom-light: #9fa268;
$custom-dark: #000000;
JSON
{
  "hex": "#757d2a",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 65.783,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.10634,
    "h": 114.5
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#757D2A
secondary
#5E56AD
accent
#4FD95C
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #757D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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