#727B23#727B23

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

Color values

HEX#727B23
RGBrgb(114, 123, 35)
HSLhsl(66, 56%, 31%)
HSVhsv(66, 72%, 48%)
CMYKcmyk(7.3%, 0%, 71.5%, 51.8%)
CIE-LABlab(49.33, -15.51, 44.62)
CIE-LCHlch(49.33, 47.24, 109.17°)
OKLaboklab(55.79% -0.0468 0.0999)
OKLCHoklch(55.79% 0.11 115.1)
XYZxyz(14.3261, 17.8649, 4.2834)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B23 #2C237B
analogous
#7B5823 #727B23 #467B23
triadic
#727B23 #23727B #7B2372
tetradic
#727B23 #237B58 #2C237B #7B2346
square
#727B23 #237B58 #2C237B #7B2346
split-complementary
#727B23 #23467B #58237B
monochromatic
#1A1C08 #464B15 #727B23 #9EAB31 #BFCC4C

Accessibility & contrast

On white

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

On black

4.57
#727B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##727B23#FFFFFF#000000##FFFFFF
##727B231.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847515
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#7A746A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b23;
/* rgb */ color: rgb(114, 123, 35);
/* oklch */ color: oklch(55.8% 0.110 115.1);
Tailwind
colors: {
  custom: {
    50: '#9da164',
    500: '#727b23',
    950: '#000000',
  },
}
SCSS
$custom: #727b23;
$custom-light: #9da164;
$custom-dark: #000000;
JSON
{
  "hex": "#727b23",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 66.136,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.11026,
    "h": 115.1
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#727B23
secondary
#564CAE
accent
#49DF58
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727B23

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

Preview Lab → · Contrast checker → · Palette generator →

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