#756512#756512

#756512 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.7% C 0.098 H 97.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#756512
RGBrgb(117, 101, 18)
HSLhsl(50, 73%, 26%)
HSVhsv(50, 85%, 46%)
CMYKcmyk(0%, 13.7%, 84.6%, 54.1%)
CIE-LABlab(42.96, -2.63, 45.05)
CIE-LCHlch(42.96, 45.12, 93.34°)
OKLaboklab(50.75% -0.0125 0.0972)
OKLCHoklch(50.75% 0.098 97.3)
XYZxyz(12.0996, 13.1336, 2.4699)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756512 #122275
analogous
#753412 #756512 #547512
triadic
#756512 #127565 #651275
tetradic
#756512 #127534 #122275 #751254
square
#756512 #127534 #122275 #751254
split-complementary
#756512 #125475 #341275
monochromatic
#1B1704 #40370A #756512 #AA931A #DDBF24

Accessibility & contrast

On white

5.79
#756512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#756512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756512
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756512#FFFFFF#000000##FFFFFF
##7565121.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#746818
Tritanopia (blue-blind)
#7F5C56
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #756512;
/* rgb */ color: rgb(117, 101, 18);
/* oklch */ color: oklch(50.7% 0.098 97.3);
Tailwind
colors: {
  custom: {
    50: '#a09059',
    500: '#756512',
    950: '#000000',
  },
}
SCSS
$custom: #756512;
$custom-light: #a09059;
$custom-dark: #000000;
JSON
{
  "hex": "#756512",
  "rgb": {
    "r": 117,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 50.303,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.09803,
    "h": 97.3
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#756512
secondary
#374AAC
accent
#56F038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #756512

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

Preview Lab → · Contrast checker → · Palette generator →

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