#757315#757315

#757315 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.0% C 0.109 H 108.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#757315
RGBrgb(117, 115, 21)
HSLhsl(59, 70%, 27%)
HSVhsv(59, 82%, 46%)
CMYKcmyk(0%, 1.7%, 82.1%, 54.1%)
CIE-LABlab(47.10, -10.46, 47.73)
CIE-LCHlch(47.10, 48.86, 102.36°)
OKLaboklab(54.04% -0.0342 0.1036)
OKLCHoklch(54.04% 0.109 108.3)
XYZxyz(13.6028, 16.0980, 3.1000)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757315 #151775
analogous
#754315 #757315 #477515
triadic
#757315 #157573 #731575
tetradic
#757315 #157543 #151775 #751547
square
#757315 #157543 #151775 #751547
split-complementary
#757315 #154775 #431575
monochromatic
#1A1905 #41400C #757315 #A9A61E #D9D52B

Accessibility & contrast

On white

4.98
#757315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#757315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757315
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757315#FFFFFF#000000##FFFFFF
##7573151.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7F711D
Tritanopia (blue-blind)
#7E6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #757315;
/* rgb */ color: rgb(117, 115, 21);
/* oklch */ color: oklch(54.0% 0.109 108.3);
Tailwind
colors: {
  custom: {
    50: '#a09b5c',
    500: '#757315',
    950: '#000000',
  },
}
SCSS
$custom: #757315;
$custom-light: #a09b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#757315",
  "rgb": {
    "r": 117,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 58.75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.10914,
    "h": 108.3
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#757315
secondary
#3B3DAB
accent
#3FEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #757315

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

Preview Lab → · Contrast checker → · Palette generator →

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