#756C12#756C12

#756C12 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.4% C 0.104 H 103.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#756C12
RGBrgb(117, 108, 18)
HSLhsl(55, 73%, 26%)
HSVhsv(55, 85%, 46%)
CMYKcmyk(0%, 7.7%, 84.6%, 54.1%)
CIE-LABlab(45.01, -6.64, 46.83)
CIE-LCHlch(45.01, 47.30, 98.08°)
OKLaboklab(52.37% -0.0238 0.1011)
OKLCHoklch(52.37% 0.104 103.3)
XYZxyz(12.8085, 14.5513, 2.7062)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756C12 #121B75
analogous
#753B12 #756C12 #4D7512
triadic
#756C12 #12756C #6C1275
tetradic
#756C12 #12753B #121B75 #75124D
square
#756C12 #12753B #121B75 #75124D
split-complementary
#756C12 #124D75 #3B1275
monochromatic
#1B1804 #403B0A #756C12 #AA9D1A #DDCC24

Accessibility & contrast

On white

5.37
#756C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#756C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756C12
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756C12#FFFFFF#000000##FFFFFF
##756C121.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#7A6C1A
Tritanopia (blue-blind)
#7F645C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #756c12;
/* rgb */ color: rgb(117, 108, 18);
/* oklch */ color: oklch(52.4% 0.104 103.3);
Tailwind
colors: {
  custom: {
    50: '#a0955a',
    500: '#756c12',
    950: '#000000',
  },
}
SCSS
$custom: #756c12;
$custom-light: #a0955a;
$custom-dark: #000000;
JSON
{
  "hex": "#756c12",
  "rgb": {
    "r": 117,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 54.545,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.10386,
    "h": 103.3
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#756C12
secondary
#3742AC
accent
#49F038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756C12

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

Preview Lab → · Contrast checker → · Palette generator →

#756C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva