#727B25#727B25

#727B25 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.8% C 0.109 H 115.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#727B25
RGBrgb(114, 123, 37)
HSLhsl(66, 54%, 31%)
HSVhsv(66, 70%, 48%)
CMYKcmyk(7.3%, 0%, 69.9%, 51.8%)
CIE-LABlab(49.35, -15.38, 43.81)
CIE-LCHlch(49.35, 46.43, 109.35°)
OKLaboklab(55.81% -0.0462 0.0985)
OKLCHoklch(55.81% 0.109 115.1)
XYZxyz(14.3567, 17.8771, 4.4442)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B25 #2E257B
analogous
#7B5925 #727B25 #477B25
triadic
#727B25 #25727B #7B2572
tetradic
#727B25 #257B59 #2E257B #7B2547
square
#727B25 #257B59 #2E257B #7B2547
split-complementary
#727B25 #25477B #59257B
monochromatic
#1B1D09 #464C17 #727B25 #9EAA33 #BECA50

Accessibility & contrast

On white

4.59
#727B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#727B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #727B25
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727B25#FFFFFF#000000##FFFFFF
##727B251.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847518
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#79746A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b25;
/* rgb */ color: rgb(114, 123, 37);
/* oklch */ color: oklch(55.8% 0.109 115.1);
Tailwind
colors: {
  custom: {
    50: '#9da165',
    500: '#727b25',
    950: '#000000',
  },
}
SCSS
$custom: #727b25;
$custom-light: #9da165;
$custom-dark: #000000;
JSON
{
  "hex": "#727b25",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 66.279,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.10878,
    "h": 115.1
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#727B25
secondary
#584FAD
accent
#4BDD5A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727B25

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

Preview Lab → · Contrast checker → · Palette generator →

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