#757215#757215

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

Color values

HEX#757215
RGBrgb(117, 114, 21)
HSLhsl(58, 70%, 27%)
HSVhsv(58, 82%, 46%)
CMYKcmyk(0%, 2.6%, 82.1%, 54.1%)
CIE-LABlab(46.81, -9.90, 47.46)
CIE-LCHlch(46.81, 48.49, 101.79°)
OKLaboklab(53.8% -0.0327 0.1031)
OKLCHoklch(53.8% 0.108 107.6)
XYZxyz(13.4893, 15.8712, 3.0622)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757215 #151875
analogous
#754215 #757215 #487515
triadic
#757215 #157572 #721575
tetradic
#757215 #157542 #151875 #751548
square
#757215 #157542 #151875 #751548
split-complementary
#757215 #154875 #421575
monochromatic
#1A1905 #413F0C #757215 #A9A51E #D9D42B

Accessibility & contrast

On white

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

On black

4.17
#757215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##757215#FFFFFF#000000##FFFFFF
##7572151.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #757215;
/* rgb */ color: rgb(117, 114, 21);
/* oklch */ color: oklch(53.8% 0.108 107.6);
Tailwind
colors: {
  custom: {
    50: '#a09a5c',
    500: '#757215',
    950: '#000000',
  },
}
SCSS
$custom: #757215;
$custom-light: #a09a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#757215",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 58.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.10812,
    "h": 107.6
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#757215
secondary
#3B3EAB
accent
#41EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #757215

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

Preview Lab → · Contrast checker → · Palette generator →

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