#727D23#727D23

#727D23 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.3% C 0.113 H 116.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#727D23
RGBrgb(114, 125, 35)
HSLhsl(67, 56%, 31%)
HSVhsv(67, 72%, 49%)
CMYKcmyk(8.8%, 0%, 72%, 51%)
CIE-LABlab(49.94, -16.58, 45.23)
CIE-LCHlch(49.94, 48.17, 110.13°)
OKLaboklab(56.27% -0.0497 0.1011)
OKLCHoklch(56.27% 0.113 116.2)
XYZxyz(14.5768, 18.3662, 4.3669)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D23 #2E237D
analogous
#7D5B23 #727D23 #457D23
triadic
#727D23 #23727D #7D2372
tetradic
#727D23 #237D5B #2E237D #7D2345
square
#727D23 #237D5B #2E237D #7D2345
split-complementary
#727D23 #23457D #5B237D
monochromatic
#1B1D08 #464D16 #727D23 #9EAD30 #BECD4D

Accessibility & contrast

On white

4.49
#727D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#727D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D23
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D23#FFFFFF#000000##000000
##727D231.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867614
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#79766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d23;
/* rgb */ color: rgb(114, 125, 35);
/* oklch */ color: oklch(56.3% 0.113 116.2);
Tailwind
colors: {
  custom: {
    50: '#9da264',
    500: '#727d23',
    950: '#000000',
  },
}
SCSS
$custom: #727d23;
$custom-light: #9da264;
$custom-dark: #000000;
JSON
{
  "hex": "#727d23",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 67.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.11269,
    "h": 116.2
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#727D23
secondary
#584CAF
accent
#48E05B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F06
muted
#7E7E7A

Preview Lab

Preview with #727D23

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

Preview Lab → · Contrast checker → · Palette generator →

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