#727822#727822

#727822 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.1% C 0.107 H 113.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#727822
RGBrgb(114, 120, 34)
HSLhsl(64, 56%, 30%)
HSVhsv(64, 72%, 47%)
CMYKcmyk(5%, 0%, 71.7%, 52.9%)
CIE-LABlab(48.42, -13.95, 44.12)
CIE-LCHlch(48.42, 46.27, 107.55°)
OKLaboklab(55.05% -0.0425 0.0986)
OKLCHoklch(55.05% 0.107 113.3)
XYZxyz(13.9450, 17.1261, 4.0841)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727822 #282278
analogous
#785322 #727822 #477822
triadic
#727822 #227278 #782272
tetradic
#727822 #227853 #282278 #782247
square
#727822 #227853 #282278 #782247
split-complementary
#727822 #224778 #532278
monochromatic
#171907 #454814 #727822 #9FA830 #C2CB49

Accessibility & contrast

On white

4.75
#727822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#727822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727822
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727822#FFFFFF#000000##FFFFFF
##7278221.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#7A7167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #727822;
/* rgb */ color: rgb(114, 120, 34);
/* oklch */ color: oklch(55.1% 0.107 113.3);
Tailwind
colors: {
  custom: {
    50: '#9d9e63',
    500: '#727822',
    950: '#000000',
  },
}
SCSS
$custom: #727822;
$custom-light: #9d9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#727822",
  "rgb": {
    "r": 114,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 64.186,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.10739,
    "h": 113.3
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#727822
secondary
#524BAB
accent
#49DF53
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #727822

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

Preview Lab → · Contrast checker → · Palette generator →

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