#727226#727226

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

Color values

HEX#727226
RGBrgb(114, 114, 38)
HSLhsl(60, 50%, 30%)
HSVhsv(60, 67%, 45%)
CMYKcmyk(0%, 0%, 66.7%, 55.3%)
CIE-LABlab(46.65, -10.41, 40.58)
CIE-LCHlch(46.65, 41.90, 104.38°)
OKLaboklab(53.65% -0.0321 0.0919)
OKLCHoklch(53.65% 0.097 109.3)
XYZxyz(13.3070, 15.7523, 4.1729)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727226 #262672
analogous
#724C26 #727226 #4C7226
triadic
#727226 #267272 #722672
tetradic
#727226 #26724C #262672 #72264C
square
#727226 #26724C #262672 #72264C
split-complementary
#727226 #264C72 #4C2672
monochromatic
#171708 #444417 #727226 #A0A035 #C4C44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727226#FFFFFF#000000##FFFFFF
##7272261.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)
#7B6D1C
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#7A6B62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #727226;
/* rgb */ color: rgb(114, 114, 38);
/* oklch */ color: oklch(53.6% 0.097 109.3);
Tailwind
colors: {
  custom: {
    50: '#9d9a65',
    500: '#727226',
    950: '#000000',
  },
}
SCSS
$custom: #727226;
$custom-light: #9d9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#727226",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.0973,
    "h": 109.3
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#727226
secondary
#4F4FA5
accent
#4EDA4E
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727226

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

Preview Lab → · Contrast checker → · Palette generator →

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