#757F17#757F17

#757F17 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.121 H 115.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#757F17
RGBrgb(117, 127, 23)
HSLhsl(66, 69%, 29%)
HSVhsv(66, 82%, 50%)
CMYKcmyk(7.9%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.71, -16.88, 50.31)
CIE-LCHlch(50.71, 53.07, 108.54°)
OKLaboklab(56.94% -0.0518 0.1096)
OKLCHoklch(56.94% 0.121 115.3)
XYZxyz(15.0806, 19.0228, 3.6878)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757F17 #21177F
analogous
#7F5517 #757F17 #417F17
triadic
#757F17 #17757F #7F1775
tetradic
#757F17 #177F55 #21177F #7F1741
square
#757F17 #177F55 #21177F #7F1741
split-complementary
#757F17 #17417F #55177F
monochromatic
#181A05 #454B0E #757F17 #A5B320 #CBDB36

Accessibility & contrast

On white

4.37
#757F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#757F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757F17
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757F17#FFFFFF#000000##000000
##757F171.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#887A21
Tritanopia (blue-blind)
#7D776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #757f17;
/* rgb */ color: rgb(117, 127, 23);
/* oklch */ color: oklch(56.9% 0.121 115.3);
Tailwind
colors: {
  custom: {
    50: '#a0a45f',
    500: '#757f17',
    950: '#000000',
  },
}
SCSS
$custom: #757f17;
$custom-light: #a0a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#757f17",
  "rgb": {
    "r": 117,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 65.769,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.1212,
    "h": 115.3
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#757F17
secondary
#4A3EB4
accent
#3CEC4D
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #757F17

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

Preview Lab → · Contrast checker → · Palette generator →

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