#757817#757817

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

Color values

HEX#757817
RGBrgb(117, 120, 23)
HSLhsl(62, 68%, 28%)
HSVhsv(62, 81%, 47%)
CMYKcmyk(2.5%, 0%, 80.8%, 52.9%)
CIE-LABlab(48.61, -13.12, 48.43)
CIE-LCHlch(48.61, 50.18, 105.16°)
OKLaboklab(55.25% -0.0414 0.1055)
OKLCHoklch(55.25% 0.113 111.4)
XYZxyz(14.2077, 17.2771, 3.3968)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757817 #1A1778
analogous
#784A17 #757817 #447817
triadic
#757817 #177578 #781775
tetradic
#757817 #17784A #1A1778 #781744
square
#757817 #17784A #1A1778 #781744
split-complementary
#757817 #174478 #4A1778
monochromatic
#191A05 #43450D #757817 #A7AB21 #D3D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757817#FFFFFF#000000##FFFFFF
##7578171.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: #757817;
/* rgb */ color: rgb(117, 120, 23);
/* oklch */ color: oklch(55.2% 0.113 111.4);
Tailwind
colors: {
  custom: {
    50: '#a09e5e',
    500: '#757817',
    950: '#000000',
  },
}
SCSS
$custom: #757817;
$custom-light: #a09e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#757817",
  "rgb": {
    "r": 117,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 61.856,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.11338,
    "h": 111.4
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#757817
secondary
#413EAD
accent
#3DEB42
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757817

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

Preview Lab → · Contrast checker → · Palette generator →

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