#727228#727228

#727228 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.7% C 0.096 H 109.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#727228
RGBrgb(114, 114, 40)
HSLhsl(60, 48%, 30%)
HSVhsv(60, 65%, 45%)
CMYKcmyk(0%, 0%, 64.9%, 55.3%)
CIE-LABlab(46.67, -10.27, 39.69)
CIE-LCHlch(46.67, 40.99, 104.50°)
OKLaboklab(53.67% -0.0315 0.0903)
OKLCHoklch(53.67% 0.096 109.2)
XYZxyz(13.3402, 15.7656, 4.3474)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727228 #282872
analogous
#724D28 #727228 #4D7228
triadic
#727228 #287272 #722872
tetradic
#727228 #28724D #282872 #72284D
square
#727228 #28724D #282872 #72284D
split-complementary
#727228 #284D72 #4D2872
monochromatic
#171708 #454518 #727228 #9F9F38 #C2C252

Accessibility & contrast

On white

5.06
#727228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #727228
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727228#FFFFFF#000000##FFFFFF
##7272281.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1F
Deuteranopia (green-blind)
#7C702D
Tritanopia (blue-blind)
#7A6B63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #727228;
/* rgb */ color: rgb(114, 114, 40);
/* oklch */ color: oklch(53.7% 0.096 109.2);
Tailwind
colors: {
  custom: {
    50: '#9d9a66',
    500: '#727228',
    950: '#000000',
  },
}
SCSS
$custom: #727228;
$custom-light: #9d9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#727228",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.09562,
    "h": 109.2
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#727228
secondary
#5252A4
accent
#50D850
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727228

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

Preview Lab → · Contrast checker → · Palette generator →

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