#757012#757012

#757012 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.3% C 0.108 H 106.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#757012
RGBrgb(117, 112, 18)
HSLhsl(57, 73%, 26%)
HSVhsv(57, 85%, 46%)
CMYKcmyk(0%, 4.3%, 84.6%, 54.1%)
CIE-LABlab(46.20, -8.90, 47.85)
CIE-LCHlch(46.20, 48.67, 100.53°)
OKLaboklab(53.31% -0.0301 0.1033)
OKLCHoklch(53.31% 0.108 106.3)
XYZxyz(13.2400, 15.4144, 2.8500)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757012 #121775
analogous
#753F12 #757012 #497512
triadic
#757012 #127570 #701275
tetradic
#757012 #12753F #121775 #751249
square
#757012 #12753F #121775 #751249
split-complementary
#757012 #124975 #3F1275
monochromatic
#1B1904 #403D0A #757012 #AAA31A #DDD424

Accessibility & contrast

On white

5.14
#757012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#757012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757012
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757012#FFFFFF#000000##FFFFFF
##7570121.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6B00
Deuteranopia (green-blind)
#7D6F1B
Tritanopia (blue-blind)
#7E685F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #757012;
/* rgb */ color: rgb(117, 112, 18);
/* oklch */ color: oklch(53.3% 0.108 106.3);
Tailwind
colors: {
  custom: {
    50: '#a0985a',
    500: '#757012',
    950: '#000000',
  },
}
SCSS
$custom: #757012;
$custom-light: #a0985a;
$custom-dark: #000000;
JSON
{
  "hex": "#757012",
  "rgb": {
    "r": 117,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 56.97,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53313,
    "c": 0.1076,
    "h": 106.3
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#757012
secondary
#373DAC
accent
#41F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #757012

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

Preview Lab → · Contrast checker → · Palette generator →

#757012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva