#757D12#757D12

#757D12 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.4% C 0.121 H 114.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#757D12
RGBrgb(117, 125, 18)
HSLhsl(64, 75%, 28%)
HSVhsv(64, 86%, 49%)
CMYKcmyk(6.4%, 0%, 85.6%, 51%)
CIE-LABlab(50.09, -16.00, 51.19)
CIE-LCHlch(50.09, 53.64, 107.35°)
OKLaboklab(56.43% -0.0498 0.1105)
OKLCHoklch(56.43% 0.121 114.2)
XYZxyz(14.7794, 18.4931, 3.3631)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D12 #1A127D
analogous
#7D4F12 #757D12 #3F7D12
triadic
#757D12 #12757D #7D1275
tetradic
#757D12 #127D4F #1A127D #7D123F
square
#757D12 #127D4F #1A127D #7D123F
split-complementary
#757D12 #123F7D #4F127D
monochromatic
#191B04 #43480A #757D12 #A7B21A #D3E029

Accessibility & contrast

On white

4.47
#757D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#757D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D12
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D12#FFFFFF#000000##000000
##757D121.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#87781D
Tritanopia (blue-blind)
#7D756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d12;
/* rgb */ color: rgb(117, 125, 18);
/* oklch */ color: oklch(56.4% 0.121 114.2);
Tailwind
colors: {
  custom: {
    50: '#a0a25d',
    500: '#757d12',
    950: '#000000',
  },
}
SCSS
$custom: #757d12;
$custom-light: #a0a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#757d12",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 64.486,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.12122,
    "h": 114.2
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#757D12
secondary
#4138B3
accent
#36F144
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #757D12

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

Preview Lab → · Contrast checker → · Palette generator →

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