#757218#757218

#757218 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.8% C 0.106 H 107.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#757218
RGBrgb(117, 114, 24)
HSLhsl(58, 66%, 28%)
HSVhsv(58, 79%, 46%)
CMYKcmyk(0%, 2.6%, 79.5%, 54.1%)
CIE-LABlab(46.82, -9.78, 46.48)
CIE-LCHlch(46.82, 47.50, 101.88°)
OKLaboklab(53.82% -0.032 0.1016)
OKLCHoklch(53.82% 0.107 107.5)
XYZxyz(13.5188, 15.8830, 3.2176)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757218 #181B75
analogous
#754418 #757218 #497518
triadic
#757218 #187572 #721875
tetradic
#757218 #187544 #181B75 #751849
square
#757218 #187544 #181B75 #751849
split-complementary
#757218 #184975 #441875
monochromatic
#191905 #42410E #757218 #A8A322 #D5D032

Accessibility & contrast

On white

5.03
#757218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#757218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757218
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757218#FFFFFF#000000##FFFFFF
##7572181.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#7E6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757218;
/* rgb */ color: rgb(117, 114, 24);
/* oklch */ color: oklch(53.8% 0.106 107.5);
Tailwind
colors: {
  custom: {
    50: '#a09a5d',
    500: '#757218',
    950: '#000000',
  },
}
SCSS
$custom: #757218;
$custom-light: #a09a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#757218",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 58.065,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.1065,
    "h": 107.5
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#757218
secondary
#3F42AA
accent
#44E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757218

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

Preview Lab → · Contrast checker → · Palette generator →

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