#757915#757915

#757915 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.5% C 0.115 H 112.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#757915
RGBrgb(117, 121, 21)
HSLhsl(62, 70%, 28%)
HSVhsv(62, 83%, 47%)
CMYKcmyk(3.3%, 0%, 82.6%, 52.5%)
CIE-LABlab(48.90, -13.74, 49.31)
CIE-LCHlch(48.90, 51.19, 105.57°)
OKLaboklab(55.48% -0.0433 0.107)
OKLCHoklch(55.48% 0.115 112)
XYZxyz(14.3093, 17.5112, 3.3355)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757915 #191579
analogous
#794B15 #757915 #437915
triadic
#757915 #157579 #791575
tetradic
#757915 #15794B #191579 #791543
square
#757915 #15794B #191579 #791543
split-complementary
#757915 #154379 #4B1579
monochromatic
#191A05 #43450C #757915 #A7AD1E #D4DB2E

Accessibility & contrast

On white

4.66
#757915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#757915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #757915
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757915#FFFFFF#000000##FFFFFF
##7579151.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#7E7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #757915;
/* rgb */ color: rgb(117, 121, 21);
/* oklch */ color: oklch(55.5% 0.115 112.0);
Tailwind
colors: {
  custom: {
    50: '#a09f5d',
    500: '#757915',
    950: '#000000',
  },
}
SCSS
$custom: #757915;
$custom-light: #a09f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#757915",
  "rgb": {
    "r": 117,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 62.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.11548,
    "h": 112
  },
  "luminance": 0.17511
}

Semantic roles & 50–950 ramp

primary
#757915
secondary
#403BAF
accent
#3BED42
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757915

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

Preview Lab → · Contrast checker → · Palette generator →

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