#757822#757822

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

Color values

HEX#757822
RGBrgb(117, 120, 34)
HSLhsl(62, 56%, 30%)
HSVhsv(62, 72%, 47%)
CMYKcmyk(2.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(48.67, -12.58, 44.46)
CIE-LCHlch(48.67, 46.20, 105.80°)
OKLaboklab(55.32% -0.0389 0.0992)
OKLCHoklch(55.32% 0.107 111.4)
XYZxyz(14.3418, 17.3307, 4.1027)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757822 #252278
analogous
#785022 #757822 #4A7822
triadic
#757822 #227578 #782275
tetradic
#757822 #227850 #252278 #78224A
square
#757822 #227850 #252278 #78224A
split-complementary
#757822 #224A78 #502278
monochromatic
#181907 #474814 #757822 #A3A830 #C7CB49

Accessibility & contrast

On white

4.70
#757822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#757822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757822
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757822#FFFFFF#000000##FFFFFF
##7578221.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827214
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#7D7067
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #757822;
/* rgb */ color: rgb(117, 120, 34);
/* oklch */ color: oklch(55.3% 0.107 111.4);
Tailwind
colors: {
  custom: {
    50: '#9f9e63',
    500: '#757822',
    950: '#000000',
  },
}
SCSS
$custom: #757822;
$custom-light: #9f9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#757822",
  "rgb": {
    "r": 117,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 62.093,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.10657,
    "h": 111.4
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#757822
secondary
#4E4BAB
accent
#49DF4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #757822

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

Preview Lab → · Contrast checker → · Palette generator →

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