#727B38#727B38

#727B38 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.092 H 115.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#727B38
RGBrgb(114, 123, 56)
HSLhsl(68, 37%, 35%)
HSVhsv(68, 54%, 48%)
CMYKcmyk(7.3%, 0%, 54.5%, 51.8%)
CIE-LABlab(49.53, -13.85, 35.04)
CIE-LCHlch(49.53, 37.68, 111.57°)
OKLaboklab(56.01% -0.0398 0.0825)
OKLCHoklch(56.01% 0.092 115.8)
XYZxyz(14.7364, 18.0290, 6.4443)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B38 #41387B
analogous
#7B6338 #727B38 #507B38
triadic
#727B38 #38727B #7B3872
tetradic
#727B38 #387B63 #41387B #7B3850
square
#727B38 #387B63 #41387B #7B3850
split-complementary
#727B38 #38507B #63387B
monochromatic
#242712 #4B5125 #727B38 #99A54B #B3BE70

Accessibility & contrast

On white

4.56
#727B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#727B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727B38
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727B38#FFFFFF#000000##000000
##727B381.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837532
Deuteranopia (green-blind)
#82763C
Tritanopia (blue-blind)
#78756C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727b38;
/* rgb */ color: rgb(114, 123, 56);
/* oklch */ color: oklch(56.0% 0.092 115.8);
Tailwind
colors: {
  custom: {
    50: '#9ca171',
    500: '#727b38',
    950: '#000000',
  },
}
SCSS
$custom: #727b38;
$custom-light: #9ca171;
$custom-dark: #000000;
JSON
{
  "hex": "#727b38",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 68.06,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.09156,
    "h": 115.8
  },
  "luminance": 0.18029
}

Semantic roles & 50–950 ramp

primary
#727B38
secondary
#7068A7
accent
#5ACD6A
background
#F9F9F6
surface
#F2F2EC
border
#CCCCC7
text
#0E0E08
muted
#7E7E7B

Preview Lab

Preview with #727B38

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

Preview Lab → · Contrast checker → · Palette generator →

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