#757918#757918

#757918 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.5% C 0.114 H 112.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#757918
RGBrgb(117, 121, 24)
HSLhsl(62, 67%, 28%)
HSVhsv(62, 80%, 47%)
CMYKcmyk(3.3%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.91, -13.62, 48.38)
CIE-LCHlch(48.91, 50.26, 105.73°)
OKLaboklab(55.49% -0.0427 0.1056)
OKLCHoklch(55.49% 0.114 112)
XYZxyz(14.3388, 17.5230, 3.4909)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757918 #1C1879
analogous
#794C18 #757918 #447918
triadic
#757918 #187579 #791875
tetradic
#757918 #18794C #1C1879 #791844
square
#757918 #18794C #1C1879 #791844
split-complementary
#757918 #184479 #4C1879
monochromatic
#191A05 #44460E #757918 #A6AC22 #D0D735

Accessibility & contrast

On white

4.66
#757918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#757918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #757918
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757918#FFFFFF#000000##FFFFFF
##7579181.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#7E7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #757918;
/* rgb */ color: rgb(117, 121, 24);
/* oklch */ color: oklch(55.5% 0.114 112.0);
Tailwind
colors: {
  custom: {
    50: '#a09f5e',
    500: '#757918',
    950: '#000000',
  },
}
SCSS
$custom: #757918;
$custom-light: #a09f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#757918",
  "rgb": {
    "r": 117,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 62.474,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.11395,
    "h": 112
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#757918
secondary
#443FAE
accent
#3EEA45
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757918

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

Preview Lab → · Contrast checker → · Palette generator →

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