#756E12#756E12

#756E12 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.8% C 0.106 H 104.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#756E12
RGBrgb(117, 110, 18)
HSLhsl(56, 73%, 26%)
HSVhsv(56, 85%, 46%)
CMYKcmyk(0%, 6%, 84.6%, 54.1%)
CIE-LABlab(45.60, -7.78, 47.34)
CIE-LCHlch(45.60, 47.98, 99.33°)
OKLaboklab(52.84% -0.027 0.1022)
OKLCHoklch(52.84% 0.106 104.8)
XYZxyz(13.0218, 14.9780, 2.7773)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756E12 #121975
analogous
#753D12 #756E12 #4B7512
triadic
#756E12 #12756E #6E1275
tetradic
#756E12 #12753D #121975 #75124B
square
#756E12 #12753D #121975 #75124B
split-complementary
#756E12 #124B75 #3D1275
monochromatic
#1B1904 #403C0A #756E12 #AAA01A #DDD024

Accessibility & contrast

On white

5.26
#756E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#756E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756E12
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756E12#FFFFFF#000000##FFFFFF
##756E121.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7B6E1A
Tritanopia (blue-blind)
#7E665D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #756e12;
/* rgb */ color: rgb(117, 110, 18);
/* oklch */ color: oklch(52.8% 0.106 104.8);
Tailwind
colors: {
  custom: {
    50: '#a0975a',
    500: '#756e12',
    950: '#000000',
  },
}
SCSS
$custom: #756e12;
$custom-light: #a0975a;
$custom-dark: #000000;
JSON
{
  "hex": "#756e12",
  "rgb": {
    "r": 117,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 55.758,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.1057,
    "h": 104.8
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#756E12
secondary
#373FAC
accent
#45F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756E12

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

Preview Lab → · Contrast checker → · Palette generator →

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