#756D12#756D12

#756D12 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.6% C 0.105 H 104.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#756D12
RGBrgb(117, 109, 18)
HSLhsl(55, 73%, 26%)
HSVhsv(55, 85%, 46%)
CMYKcmyk(0%, 6.8%, 84.6%, 54.1%)
CIE-LABlab(45.31, -7.21, 47.09)
CIE-LCHlch(45.31, 47.63, 98.71°)
OKLaboklab(52.61% -0.0254 0.1016)
OKLCHoklch(52.61% 0.105 104)
XYZxyz(12.9145, 14.7634, 2.7415)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756D12 #121A75
analogous
#753C12 #756D12 #4C7512
triadic
#756D12 #12756D #6D1275
tetradic
#756D12 #12753C #121A75 #75124C
square
#756D12 #12753C #121A75 #75124C
split-complementary
#756D12 #124C75 #3C1275
monochromatic
#1B1904 #403C0A #756D12 #AA9E1A #DDCE24

Accessibility & contrast

On white

5.31
#756D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#756D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756D12
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756D12#FFFFFF#000000##FFFFFF
##756D121.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7A6D1A
Tritanopia (blue-blind)
#7F655D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #756d12;
/* rgb */ color: rgb(117, 109, 18);
/* oklch */ color: oklch(52.6% 0.105 104.0);
Tailwind
colors: {
  custom: {
    50: '#a0965a',
    500: '#756d12',
    950: '#000000',
  },
}
SCSS
$custom: #756d12;
$custom-light: #a0965a;
$custom-dark: #000000;
JSON
{
  "hex": "#756d12",
  "rgb": {
    "r": 117,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 55.152,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.10477,
    "h": 104
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#756D12
secondary
#3741AC
accent
#47F038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756D12

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

Preview Lab → · Contrast checker → · Palette generator →

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