#757818#757818

#757818 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.3% C 0.113 H 111.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#757818
RGBrgb(117, 120, 24)
HSLhsl(62, 67%, 28%)
HSVhsv(62, 80%, 47%)
CMYKcmyk(2.5%, 0%, 80%, 52.9%)
CIE-LABlab(48.61, -13.08, 48.11)
CIE-LCHlch(48.61, 49.86, 105.21°)
OKLaboklab(55.25% -0.0412 0.1051)
OKLCHoklch(55.25% 0.113 111.4)
XYZxyz(14.2180, 17.2812, 3.4506)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757818 #1B1878
analogous
#784B18 #757818 #457818
triadic
#757818 #187578 #781875
tetradic
#757818 #18784B #1B1878 #781845
square
#757818 #18784B #1B1878 #781845
split-complementary
#757818 #184578 #4B1878
monochromatic
#191A05 #43450E #757818 #A7AB22 #D1D634

Accessibility & contrast

On white

4.71
#757818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#757818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757818
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757818#FFFFFF#000000##FFFFFF
##7578181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#7E7066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #757818;
/* rgb */ color: rgb(117, 120, 24);
/* oklch */ color: oklch(55.3% 0.113 111.4);
Tailwind
colors: {
  custom: {
    50: '#a09e5e',
    500: '#757818',
    950: '#000000',
  },
}
SCSS
$custom: #757818;
$custom-light: #a09e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#757818",
  "rgb": {
    "r": 117,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 61.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55252,
    "c": 0.11285,
    "h": 111.4
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#757818
secondary
#423FAD
accent
#3EEA44
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757818

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

Preview Lab → · Contrast checker → · Palette generator →

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