#757515#757515

#757515 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.5% C 0.111 H 109.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#757515
RGBrgb(117, 117, 21)
HSLhsl(60, 70%, 27%)
HSVhsv(60, 82%, 46%)
CMYKcmyk(0%, 0%, 82.1%, 54.1%)
CIE-LABlab(47.70, -11.56, 48.26)
CIE-LCHlch(47.70, 49.62, 103.47°)
OKLaboklab(54.52% -0.0373 0.1048)
OKLCHoklch(54.52% 0.111 109.6)
XYZxyz(13.8333, 16.5591, 3.1769)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757515 #151575
analogous
#754515 #757515 #457515
triadic
#757515 #157575 #751575
tetradic
#757515 #157545 #151575 #751545
square
#757515 #157545 #151575 #751545
split-complementary
#757515 #154575 #451575
monochromatic
#1A1A05 #41410C #757515 #A9A91E #D9D92B

Accessibility & contrast

On white

4.87
#757515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#757515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757515
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757515#FFFFFF#000000##FFFFFF
##7575151.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#7E6D64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #757515;
/* rgb */ color: rgb(117, 117, 21);
/* oklch */ color: oklch(54.5% 0.111 109.6);
Tailwind
colors: {
  custom: {
    50: '#a09c5c',
    500: '#757515',
    950: '#000000',
  },
}
SCSS
$custom: #757515;
$custom-light: #a09c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#757515",
  "rgb": {
    "r": 117,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.1112,
    "h": 109.6
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#757515
secondary
#3B3BAB
accent
#3BEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #757515

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

Preview Lab → · Contrast checker → · Palette generator →

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