#757C12#757C12

#757C12 is a mid, vivid yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.120 H 113.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#757C12
RGBrgb(117, 124, 18)
HSLhsl(64, 75%, 28%)
HSVhsv(64, 85%, 49%)
CMYKcmyk(5.6%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.79, -15.46, 50.94)
CIE-LCHlch(49.79, 53.23, 106.89°)
OKLaboklab(56.18% -0.0483 0.11)
OKLCHoklch(56.18% 0.12 113.7)
XYZxyz(14.6534, 18.2412, 3.3211)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757C12 #19127C
analogous
#7C4E12 #757C12 #407C12
triadic
#757C12 #12757C #7C1275
tetradic
#757C12 #127C4E #19127C #7C1240
square
#757C12 #127C4E #19127C #7C1240
split-complementary
#757C12 #12407C #4E127C
monochromatic
#191B04 #43470A #757C12 #A7B11A #D4E029

Accessibility & contrast

On white

4.52
#757C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#757C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757C12
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757C12#FFFFFF#000000##000000
##757C121.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#86771D
Tritanopia (blue-blind)
#7D7469
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757c12;
/* rgb */ color: rgb(117, 124, 18);
/* oklch */ color: oklch(56.2% 0.120 113.7);
Tailwind
colors: {
  custom: {
    50: '#a0a15c',
    500: '#757c12',
    950: '#000000',
  },
}
SCSS
$custom: #757c12;
$custom-light: #a0a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#757c12",
  "rgb": {
    "r": 117,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 63.962,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.12011,
    "h": 113.7
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#757C12
secondary
#4038B2
accent
#37F143
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #757C12

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

Preview Lab → · Contrast checker → · Palette generator →

#757C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva