#757F12#757F12

#757F12 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.123 H 115.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#757F12
RGBrgb(117, 127, 18)
HSLhsl(66, 75%, 28%)
HSVhsv(66, 86%, 50%)
CMYKcmyk(7.9%, 0%, 85.8%, 50.2%)
CIE-LABlab(50.69, -17.06, 51.71)
CIE-LCHlch(50.69, 54.45, 108.25°)
OKLaboklab(56.91% -0.0527 0.1116)
OKLCHoklch(56.91% 0.123 115.3)
XYZxyz(15.0351, 19.0046, 3.4484)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757F12 #1C127F
analogous
#7F5212 #757F12 #3E7F12
triadic
#757F12 #12757F #7F1275
tetradic
#757F12 #127F52 #1C127F #7F123E
square
#757F12 #127F52 #1C127F #7F123E
split-complementary
#757F12 #123E7F #52127F
monochromatic
#191B04 #44490A #757F12 #A6B51A #D0E12B

Accessibility & contrast

On white

4.37
#757F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#757F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757F12
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757F12#FFFFFF#000000##000000
##757F121.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#7D776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #757f12;
/* rgb */ color: rgb(117, 127, 18);
/* oklch */ color: oklch(56.9% 0.123 115.3);
Tailwind
colors: {
  custom: {
    50: '#a0a45d',
    500: '#757f12',
    950: '#000000',
  },
}
SCSS
$custom: #757f12;
$custom-light: #a0a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#757f12",
  "rgb": {
    "r": 117,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 65.505,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.12345,
    "h": 115.3
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#757F12
secondary
#4438B5
accent
#36F247
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #757F12

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

Preview Lab → · Contrast checker → · Palette generator →

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