#758012#758012

#758012 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.2% C 0.125 H 115.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#758012
RGBrgb(117, 128, 18)
HSLhsl(66, 75%, 29%)
HSVhsv(66, 86%, 50%)
CMYKcmyk(8.6%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.99, -17.58, 51.97)
CIE-LCHlch(50.99, 54.86, 108.69°)
OKLaboklab(57.15% -0.0541 0.1122)
OKLCHoklch(57.15% 0.125 115.8)
XYZxyz(15.1649, 19.2642, 3.4916)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#758012 #1D1280
analogous
#805412 #758012 #3E8012
triadic
#758012 #127580 #801275
tetradic
#758012 #128054 #1D1280 #80123E
square
#758012 #128054 #1D1280 #80123E
split-complementary
#758012 #123E80 #541280
monochromatic
#191B04 #444A0A #758012 #A6B61A #CFE12B

Accessibility & contrast

On white

4.33
#758012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#758012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #758012
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##758012#FFFFFF#000000##000000
##7580121.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#7D786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #758012;
/* rgb */ color: rgb(117, 128, 18);
/* oklch */ color: oklch(57.2% 0.125 115.8);
Tailwind
colors: {
  custom: {
    50: '#a0a45d',
    500: '#758012',
    950: '#000000',
  },
}
SCSS
$custom: #758012;
$custom-light: #a0a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#758012",
  "rgb": {
    "r": 117,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 66,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.12457,
    "h": 115.8
  },
  "luminance": 0.19264
}

Semantic roles & 50–950 ramp

primary
#758012
secondary
#4538B6
accent
#36F249
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #758012

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

Preview Lab → · Contrast checker → · Palette generator →

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