#757815#757815

#757815 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.2% C 0.114 H 111.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#757815
RGBrgb(117, 120, 21)
HSLhsl(62, 70%, 28%)
HSVhsv(62, 83%, 47%)
CMYKcmyk(2.5%, 0%, 82.5%, 52.9%)
CIE-LABlab(48.60, -13.20, 49.05)
CIE-LCHlch(48.60, 50.79, 105.06°)
OKLaboklab(55.24% -0.0418 0.1065)
OKLCHoklch(55.24% 0.114 111.4)
XYZxyz(14.1885, 17.2694, 3.2952)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757815 #181578
analogous
#784915 #757815 #447815
triadic
#757815 #157578 #781575
tetradic
#757815 #157849 #181578 #781544
square
#757815 #157849 #181578 #781544
split-complementary
#757815 #154478 #491578
monochromatic
#191A05 #42440C #757815 #A8AC1E #D5DA2D

Accessibility & contrast

On white

4.72
#757815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#757815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757815
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757815#FFFFFF#000000##FFFFFF
##7578151.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#7E7066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #757815;
/* rgb */ color: rgb(117, 120, 21);
/* oklch */ color: oklch(55.2% 0.114 111.4);
Tailwind
colors: {
  custom: {
    50: '#a09e5d',
    500: '#757815',
    950: '#000000',
  },
}
SCSS
$custom: #757815;
$custom-light: #a09e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#757815",
  "rgb": {
    "r": 117,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 61.818,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.11439,
    "h": 111.4
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#757815
secondary
#3F3BAE
accent
#3BED40
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757815

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

Preview Lab → · Contrast checker → · Palette generator →

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