#757F18#757F18

#757F18 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.121 H 115.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#757F18
RGBrgb(117, 127, 24)
HSLhsl(66, 68%, 30%)
HSVhsv(66, 81%, 50%)
CMYKcmyk(7.9%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.72, -16.83, 50.01)
CIE-LCHlch(50.72, 52.77, 108.60°)
OKLaboklab(56.94% -0.0516 0.1091)
OKLCHoklch(56.94% 0.121 115.3)
XYZxyz(15.0908, 19.0269, 3.7416)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757F18 #22187F
analogous
#7F5618 #757F18 #427F18
triadic
#757F18 #18757F #7F1875
tetradic
#757F18 #187F56 #22187F #7F1842
square
#757F18 #187F56 #22187F #7F1842
split-complementary
#757F18 #18427F #56187F
monochromatic
#181A05 #464C0E #757F18 #A4B222 #CAD938

Accessibility & contrast

On white

4.37
#757F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#757F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757F18
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757F18#FFFFFF#000000##000000
##757F181.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#7D776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #757f18;
/* rgb */ color: rgb(117, 127, 24);
/* oklch */ color: oklch(56.9% 0.121 115.3);
Tailwind
colors: {
  custom: {
    50: '#a0a45f',
    500: '#757f18',
    950: '#000000',
  },
}
SCSS
$custom: #757f18;
$custom-light: #a0a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#757f18",
  "rgb": {
    "r": 117,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 65.825,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.1207,
    "h": 115.3
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#757F18
secondary
#4B3FB3
accent
#3DEB4E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #757F18

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

Preview Lab → · Contrast checker → · Palette generator →

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