#757512#757512

#757512 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.113 H 109.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#757512
RGBrgb(117, 117, 18)
HSLhsl(60, 73%, 26%)
HSVhsv(60, 85%, 46%)
CMYKcmyk(0%, 0%, 84.6%, 54.1%)
CIE-LABlab(47.69, -11.67, 49.14)
CIE-LCHlch(47.69, 50.50, 103.36°)
OKLaboklab(54.5% -0.0378 0.1061)
OKLCHoklch(54.5% 0.113 109.6)
XYZxyz(13.8071, 16.5486, 3.0390)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757512 #121275
analogous
#754412 #757512 #447512
triadic
#757512 #127575 #751275
tetradic
#757512 #127544 #121275 #751244
square
#757512 #127544 #121275 #751244
split-complementary
#757512 #124475 #441275
monochromatic
#1B1B04 #40400A #757512 #AAAA1A #DDDD24

Accessibility & contrast

On white

4.87
#757512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#757512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757512
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757512#FFFFFF#000000##FFFFFF
##7575121.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#80721C
Tritanopia (blue-blind)
#7E6D63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #757512;
/* rgb */ color: rgb(117, 117, 18);
/* oklch */ color: oklch(54.5% 0.113 109.6);
Tailwind
colors: {
  custom: {
    50: '#a09c5b',
    500: '#757512',
    950: '#000000',
  },
}
SCSS
$custom: #757512;
$custom-light: #a09c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#757512",
  "rgb": {
    "r": 117,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.11262,
    "h": 109.6
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#757512
secondary
#3737AC
accent
#38F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #757512

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

Preview Lab → · Contrast checker → · Palette generator →

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