#757D17#757D17

#757D17 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.119 H 114.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#757D17
RGBrgb(117, 125, 23)
HSLhsl(65, 69%, 29%)
HSVhsv(65, 82%, 49%)
CMYKcmyk(6.4%, 0%, 81.6%, 51%)
CIE-LABlab(50.11, -15.81, 49.78)
CIE-LCHlch(50.11, 52.23, 107.62°)
OKLaboklab(56.45% -0.0489 0.1084)
OKLCHoklch(56.45% 0.119 114.3)
XYZxyz(14.8248, 18.5113, 3.6025)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D17 #1F177D
analogous
#7D5217 #757D17 #427D17
triadic
#757D17 #17757D #7D1775
tetradic
#757D17 #177D52 #1F177D #7D1742
square
#757D17 #177D52 #1F177D #7D1742
split-complementary
#757D17 #17427D #52177D
monochromatic
#181A05 #45490D #757D17 #A5B121 #CDDA35

Accessibility & contrast

On white

4.47
#757D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#757D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D17
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D17#FFFFFF#000000##000000
##757D171.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#7D756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d17;
/* rgb */ color: rgb(117, 125, 23);
/* oklch */ color: oklch(56.5% 0.119 114.3);
Tailwind
colors: {
  custom: {
    50: '#a0a25e',
    500: '#757d17',
    950: '#000000',
  },
}
SCSS
$custom: #757d17;
$custom-light: #a0a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#757d17",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 64.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.11892,
    "h": 114.3
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#757D17
secondary
#473EB2
accent
#3CEC4A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #757D17

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

Preview Lab → · Contrast checker → · Palette generator →

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