#757D28#757D28

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

Color values

HEX#757D28
RGBrgb(117, 125, 40)
HSLhsl(66, 52%, 32%)
HSVhsv(66, 68%, 49%)
CMYKcmyk(6.4%, 0%, 68%, 51%)
CIE-LABlab(50.22, -14.91, 43.50)
CIE-LCHlch(50.22, 45.98, 108.92°)
OKLaboklab(56.57% -0.0447 0.0982)
OKLCHoklch(56.57% 0.108 114.5)
XYZxyz(15.0531, 18.6026, 4.8048)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D28 #30287D
analogous
#7D5B28 #757D28 #4B7D28
triadic
#757D28 #28757D #7D2875
tetradic
#757D28 #287D5B #30287D #7D284B
square
#757D28 #287D5B #30287D #7D284B
split-complementary
#757D28 #284B7D #5B287D
monochromatic
#1E200A #4A4F19 #757D28 #A0AB37 #BEC956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757D28#FFFFFF#000000##000000
##757D281.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)
#86771C
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#7D766C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d28;
/* rgb */ color: rgb(117, 125, 40);
/* oklch */ color: oklch(56.6% 0.108 114.5);
Tailwind
colors: {
  custom: {
    50: '#9fa267',
    500: '#757d28',
    950: '#000000',
  },
}
SCSS
$custom: #757d28;
$custom-light: #9fa267;
$custom-dark: #000000;
JSON
{
  "hex": "#757d28",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 65.647,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.10794,
    "h": 114.5
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#757D28
secondary
#5B53AE
accent
#4DDB5A
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #757D28

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

Preview Lab → · Contrast checker → · Palette generator →

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