#757217#757217

#757217 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.8% C 0.107 H 107.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#757217
RGBrgb(117, 114, 23)
HSLhsl(58, 67%, 27%)
HSVhsv(58, 80%, 46%)
CMYKcmyk(0%, 2.6%, 80.3%, 54.1%)
CIE-LABlab(46.82, -9.82, 46.82)
CIE-LCHlch(46.82, 47.84, 101.85°)
OKLaboklab(53.81% -0.0323 0.1021)
OKLCHoklch(53.81% 0.107 107.5)
XYZxyz(13.5086, 15.8789, 3.1638)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757217 #171A75
analogous
#754317 #757217 #497517
triadic
#757217 #177572 #721775
tetradic
#757217 #177543 #171A75 #751749
square
#757217 #177543 #171A75 #751749
split-complementary
#757217 #174975 #431775
monochromatic
#1A1905 #42400D #757217 #A8A421 #D6D130

Accessibility & contrast

On white

5.03
#757217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#757217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757217
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757217#FFFFFF#000000##FFFFFF
##7572171.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#7E6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757217;
/* rgb */ color: rgb(117, 114, 23);
/* oklch */ color: oklch(53.8% 0.107 107.5);
Tailwind
colors: {
  custom: {
    50: '#a09a5d',
    500: '#757217',
    950: '#000000',
  },
}
SCSS
$custom: #757217;
$custom-light: #a09a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#757217",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 58.085,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.10707,
    "h": 107.5
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#757217
secondary
#3D41AA
accent
#43EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757217

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

Preview Lab → · Contrast checker → · Palette generator →

#757217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva