#727B24#727B24

#727B24 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#727B24
RGBrgb(114, 123, 36)
HSLhsl(66, 55%, 31%)
HSVhsv(66, 71%, 48%)
CMYKcmyk(7.3%, 0%, 70.7%, 51.8%)
CIE-LABlab(49.34, -15.45, 44.22)
CIE-LCHlch(49.34, 46.84, 109.26°)
OKLaboklab(55.8% -0.0465 0.0992)
OKLCHoklch(55.8% 0.11 115.1)
XYZxyz(14.3412, 17.8709, 4.3627)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B24 #2D247B
analogous
#7B5824 #727B24 #467B24
triadic
#727B24 #24727B #7B2472
tetradic
#727B24 #247B58 #2D247B #7B2446
square
#727B24 #247B58 #2D247B #7B2446
split-complementary
#727B24 #24467B #58247B
monochromatic
#1A1C08 #464C16 #727B24 #9EAA32 #BECB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727B24#FFFFFF#000000##FFFFFF
##727B241.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)
#847517
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#7A746A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b24;
/* rgb */ color: rgb(114, 123, 36);
/* oklch */ color: oklch(55.8% 0.110 115.1);
Tailwind
colors: {
  custom: {
    50: '#9da164',
    500: '#727b24',
    950: '#000000',
  },
}
SCSS
$custom: #727b24;
$custom-light: #9da164;
$custom-dark: #000000;
JSON
{
  "hex": "#727b24",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 66.207,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.10952,
    "h": 115.1
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#727B24
secondary
#574DAD
accent
#4ADE59
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727B24

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

Preview Lab → · Contrast checker → · Palette generator →

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