#727222#727222

#727222 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.6% C 0.100 H 109.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#727222
RGBrgb(114, 114, 34)
HSLhsl(60, 54%, 29%)
HSVhsv(60, 70%, 45%)
CMYKcmyk(0%, 0%, 70.2%, 55.3%)
CIE-LABlab(46.62, -10.66, 42.31)
CIE-LCHlch(46.62, 43.63, 104.15°)
OKLaboklab(53.61% -0.0333 0.0948)
OKLCHoklch(53.61% 0.1 109.4)
XYZxyz(13.2459, 15.7279, 3.8511)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727222 #222272
analogous
#724A22 #727222 #4A7222
triadic
#727222 #227272 #722272
tetradic
#727222 #22724A #222272 #72224A
square
#727222 #22724A #222272 #72224A
split-complementary
#727222 #224A72 #4A2272
monochromatic
#181807 #434314 #727222 #A1A130 #C8C846

Accessibility & contrast

On white

5.07
#727222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#727222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727222
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727222#FFFFFF#000000##FFFFFF
##7272221.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#7A6B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #727222;
/* rgb */ color: rgb(114, 114, 34);
/* oklch */ color: oklch(53.6% 0.100 109.4);
Tailwind
colors: {
  custom: {
    50: '#9d9a62',
    500: '#727222',
    950: '#000000',
  },
}
SCSS
$custom: #727222;
$custom-light: #9d9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#727222",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.10048,
    "h": 109.4
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#727222
secondary
#4B4BA5
accent
#4ADD4A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #727222

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

Preview Lab → · Contrast checker → · Palette generator →

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