#727C38#727C38

#727C38 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.093 H 116.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#727C38
RGBrgb(114, 124, 56)
HSLhsl(69, 38%, 35%)
HSVhsv(69, 55%, 49%)
CMYKcmyk(8.1%, 0%, 54.8%, 51.4%)
CIE-LABlab(49.83, -14.39, 35.40)
CIE-LCHlch(49.83, 38.21, 112.13°)
OKLaboklab(56.25% -0.0413 0.0832)
OKLCHoklch(56.25% 0.093 116.4)
XYZxyz(14.8611, 18.2784, 6.4858)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727C38 #42387C
analogous
#7C6438 #727C38 #507C38
triadic
#727C38 #38727C #7C3872
tetradic
#727C38 #387C64 #42387C #7C3850
square
#727C38 #387C64 #42387C #7C3850
split-complementary
#727C38 #38507C #64387C
monochromatic
#242812 #4B5225 #727C38 #99A64B #B3BE70

Accessibility & contrast

On white

4.51
#727C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#727C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727C38
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727C38#FFFFFF#000000##000000
##727C381.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847631
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#78766D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727c38;
/* rgb */ color: rgb(114, 124, 56);
/* oklch */ color: oklch(56.3% 0.093 116.4);
Tailwind
colors: {
  custom: {
    50: '#9ca171',
    500: '#727c38',
    950: '#000000',
  },
}
SCSS
$custom: #727c38;
$custom-light: #9ca171;
$custom-dark: #000000;
JSON
{
  "hex": "#727c38",
  "rgb": {
    "r": 114,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 68.824,
    "s": 37.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.09291,
    "h": 116.4
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#727C38
secondary
#7268A7
accent
#5ACE6B
background
#F9F9F6
surface
#F2F2EC
border
#CCCCC7
text
#0E0F08
muted
#7E7E7B

Preview Lab

Preview with #727C38

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

Preview Lab → · Contrast checker → · Palette generator →

#727C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva