#757015#757015

#757015 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.3% C 0.106 H 106.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#757015
RGBrgb(117, 112, 21)
HSLhsl(57, 70%, 27%)
HSVhsv(57, 82%, 46%)
CMYKcmyk(0%, 4.3%, 82.1%, 54.1%)
CIE-LABlab(46.21, -8.79, 46.94)
CIE-LCHlch(46.21, 47.75, 100.61°)
OKLaboklab(53.33% -0.0295 0.1019)
OKLCHoklch(53.33% 0.106 106.2)
XYZxyz(13.2662, 15.4249, 2.9878)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757015 #151A75
analogous
#754015 #757015 #4A7515
triadic
#757015 #157570 #701575
tetradic
#757015 #157540 #151A75 #75154A
square
#757015 #157540 #151A75 #75154A
split-complementary
#757015 #154A75 #401575
monochromatic
#1A1905 #413E0C #757015 #A9A21E #D9D02B

Accessibility & contrast

On white

5.14
#757015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#757015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757015
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757015#FFFFFF#000000##FFFFFF
##7570151.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C00
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#7E685F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #757015;
/* rgb */ color: rgb(117, 112, 21);
/* oklch */ color: oklch(53.3% 0.106 106.2);
Tailwind
colors: {
  custom: {
    50: '#a0985c',
    500: '#757015',
    950: '#000000',
  },
}
SCSS
$custom: #757015;
$custom-light: #a0985c;
$custom-dark: #000000;
JSON
{
  "hex": "#757015",
  "rgb": {
    "r": 117,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 56.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.10613,
    "h": 106.2
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#757015
secondary
#3B41AB
accent
#45EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #757015

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

Preview Lab → · Contrast checker → · Palette generator →

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