#757212#757212

#757212 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.8% C 0.110 H 107.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#757212
RGBrgb(117, 114, 18)
HSLhsl(58, 73%, 26%)
HSVhsv(58, 85%, 46%)
CMYKcmyk(0%, 2.6%, 84.6%, 54.1%)
CIE-LABlab(46.79, -10.01, 48.37)
CIE-LCHlch(46.79, 49.39, 101.70°)
OKLaboklab(53.79% -0.0332 0.1044)
OKLCHoklch(53.79% 0.11 107.6)
XYZxyz(13.4632, 15.8607, 2.9244)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757212 #121575
analogous
#754112 #757212 #477512
triadic
#757212 #127572 #721275
tetradic
#757212 #127541 #121575 #751247
square
#757212 #127541 #121575 #751247
split-complementary
#757212 #124775 #411275
monochromatic
#1B1A04 #403E0A #757212 #AAA61A #DDD824

Accessibility & contrast

On white

5.03
#757212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#757212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757212
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757212#FFFFFF#000000##FFFFFF
##7572121.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7E701B
Tritanopia (blue-blind)
#7E6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757212;
/* rgb */ color: rgb(117, 114, 18);
/* oklch */ color: oklch(53.8% 0.110 107.6);
Tailwind
colors: {
  custom: {
    50: '#a09a5b',
    500: '#757212',
    950: '#000000',
  },
}
SCSS
$custom: #757212;
$custom-light: #a09a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#757212",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 58.182,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.10956,
    "h": 107.6
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#757212
secondary
#373BAC
accent
#3DF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #757212

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

Preview Lab → · Contrast checker → · Palette generator →

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