#756B12#756B12

#756B12 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.1% C 0.103 H 102.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#756B12
RGBrgb(117, 107, 18)
HSLhsl(54, 73%, 26%)
HSVhsv(54, 85%, 46%)
CMYKcmyk(0%, 8.5%, 84.6%, 54.1%)
CIE-LABlab(44.72, -6.08, 46.57)
CIE-LCHlch(44.72, 46.97, 97.43°)
OKLaboklab(52.14% -0.0222 0.1005)
OKLCHoklch(52.14% 0.103 102.5)
XYZxyz(12.7036, 14.3415, 2.6712)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756B12 #121C75
analogous
#753A12 #756B12 #4E7512
triadic
#756B12 #12756B #6B1275
tetradic
#756B12 #12753A #121C75 #75124E
square
#756B12 #12753A #121C75 #75124E
split-complementary
#756B12 #124E75 #3A1275
monochromatic
#1B1804 #403A0A #756B12 #AA9C1A #DDCB24

Accessibility & contrast

On white

5.43
#756B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#756B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756B12
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756B12#FFFFFF#000000##FFFFFF
##756B121.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#7F635B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #756b12;
/* rgb */ color: rgb(117, 107, 18);
/* oklch */ color: oklch(52.1% 0.103 102.5);
Tailwind
colors: {
  custom: {
    50: '#a0955a',
    500: '#756b12',
    950: '#000000',
  },
}
SCSS
$custom: #756b12;
$custom-light: #a0955a;
$custom-dark: #000000;
JSON
{
  "hex": "#756b12",
  "rgb": {
    "r": 117,
    "g": 107,
    "b": 18
  },
  "hsl": {
    "h": 53.939,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.10297,
    "h": 102.5
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#756B12
secondary
#3743AC
accent
#4AF038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756B12

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

Preview Lab → · Contrast checker → · Palette generator →

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