#757312#757312

#757312 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.0% C 0.111 H 108.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#757312
RGBrgb(117, 115, 18)
HSLhsl(59, 73%, 26%)
HSVhsv(59, 85%, 46%)
CMYKcmyk(0%, 1.7%, 84.6%, 54.1%)
CIE-LABlab(47.09, -10.57, 48.62)
CIE-LCHlch(47.09, 49.76, 102.26°)
OKLaboklab(54.03% -0.0348 0.105)
OKLCHoklch(54.03% 0.111 108.3)
XYZxyz(13.5766, 16.0875, 2.9622)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757312 #121475
analogous
#754212 #757312 #467512
triadic
#757312 #127573 #731275
tetradic
#757312 #127542 #121475 #751246
square
#757312 #127542 #121475 #751246
split-complementary
#757312 #124675 #421275
monochromatic
#1B1A04 #403F0A #757312 #AAA71A #DDDA24

Accessibility & contrast

On white

4.98
#757312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#757312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757312
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757312#FFFFFF#000000##FFFFFF
##7573121.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#7E6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #757312;
/* rgb */ color: rgb(117, 115, 18);
/* oklch */ color: oklch(54.0% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#a09b5b',
    500: '#757312',
    950: '#000000',
  },
}
SCSS
$custom: #757312;
$custom-light: #a09b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#757312",
  "rgb": {
    "r": 117,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 58.788,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.11057,
    "h": 108.3
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#757312
secondary
#373AAC
accent
#3CF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #757312

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

Preview Lab → · Contrast checker → · Palette generator →

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