#756F12#756F12

#756F12 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.1% C 0.107 H 105.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#756F12
RGBrgb(117, 111, 18)
HSLhsl(56, 73%, 26%)
HSVhsv(56, 85%, 46%)
CMYKcmyk(0%, 5.1%, 84.6%, 54.1%)
CIE-LABlab(45.90, -8.34, 47.60)
CIE-LCHlch(45.90, 48.32, 99.94°)
OKLaboklab(53.08% -0.0285 0.1028)
OKLCHoklch(53.08% 0.107 105.5)
XYZxyz(13.1303, 15.1950, 2.8134)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756F12 #121875
analogous
#753E12 #756F12 #4A7512
triadic
#756F12 #12756F #6F1275
tetradic
#756F12 #12753E #121875 #75124A
square
#756F12 #12753E #121875 #75124A
split-complementary
#756F12 #124A75 #3E1275
monochromatic
#1B1904 #403D0A #756F12 #AAA11A #DDD224

Accessibility & contrast

On white

5.20
#756F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#756F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756F12
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756F12#FFFFFF#000000##FFFFFF
##756F121.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7C6E1A
Tritanopia (blue-blind)
#7E675E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #756f12;
/* rgb */ color: rgb(117, 111, 18);
/* oklch */ color: oklch(53.1% 0.107 105.5);
Tailwind
colors: {
  custom: {
    50: '#a0985a',
    500: '#756f12',
    950: '#000000',
  },
}
SCSS
$custom: #756f12;
$custom-light: #a0985a;
$custom-dark: #000000;
JSON
{
  "hex": "#756f12",
  "rgb": {
    "r": 117,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 56.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.10664,
    "h": 105.5
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#756F12
secondary
#373EAC
accent
#43F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756F12

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

Preview Lab → · Contrast checker → · Palette generator →

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