#757118#757118

#757118 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.6% C 0.105 H 106.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#757118
RGBrgb(117, 113, 24)
HSLhsl(57, 66%, 28%)
HSVhsv(57, 79%, 46%)
CMYKcmyk(0%, 3.4%, 79.5%, 54.1%)
CIE-LABlab(46.52, -9.22, 46.21)
CIE-LCHlch(46.52, 47.12, 101.29°)
OKLaboklab(53.58% -0.0305 0.101)
OKLCHoklch(53.58% 0.105 106.8)
XYZxyz(13.4067, 15.6586, 3.1802)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757118 #181C75
analogous
#754218 #757118 #4B7518
triadic
#757118 #187571 #711875
tetradic
#757118 #187542 #181C75 #75184B
square
#757118 #187542 #181C75 #75184B
split-complementary
#757118 #184B75 #421875
monochromatic
#191905 #42400E #757118 #A8A222 #D5CE32

Accessibility & contrast

On white

5.08
#757118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#757118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757118
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757118#FFFFFF#000000##FFFFFF
##7571181.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#7E6960
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #757118;
/* rgb */ color: rgb(117, 113, 24);
/* oklch */ color: oklch(53.6% 0.105 106.8);
Tailwind
colors: {
  custom: {
    50: '#a0995d',
    500: '#757118',
    950: '#000000',
  },
}
SCSS
$custom: #757118;
$custom-light: #a0995d;
$custom-dark: #000000;
JSON
{
  "hex": "#757118",
  "rgb": {
    "r": 117,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 57.419,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.10549,
    "h": 106.8
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#757118
secondary
#3F43AA
accent
#46E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #757118

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

Preview Lab → · Contrast checker → · Palette generator →

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