#C5C726#C5C726

#C5C726 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.167 H 110.4°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#C5C726
RGBrgb(197, 199, 38)
HSLhsl(61, 68%, 46%)
HSVhsv(61, 81%, 78%)
CMYKcmyk(1%, 0%, 80.9%, 22%)
CIE-LABlab(77.79, -18.07, 72.30)
CIE-LCHlch(77.79, 74.52, 104.03°)
OKLaboklab(80.24% -0.0581 0.1562)
OKLCHoklch(80.24% 0.167 110.4)
XYZxyz(43.8009, 52.8584, 9.7288)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C726 #2826C7
analogous
#C77926 #C5C726 #75C726
triadic
#C5C726 #26C5C7 #C726C5
tetradic
#C5C726 #26C779 #2826C7 #C72675
square
#C5C726 #26C779 #2826C7 #C72675
split-complementary
#C5C726 #2675C7 #7926C7
monochromatic
#5F6012 #92941C #C5C726 #DBDD4D #E6E781

Accessibility & contrast

On white

1.81
#C5C726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#C5C726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C726
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C726#FFFFFF#000000##000000
##C5C7261.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D9C236
Tritanopia (blue-blind)
#D3BAAA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c5c726;
/* rgb */ color: rgb(197, 199, 38);
/* oklch */ color: oklch(80.2% 0.167 110.4);
Tailwind
colors: {
  custom: {
    50: '#dbd771',
    500: '#c5c726',
    950: '#000000',
  },
}
SCSS
$custom: #c5c726;
$custom-light: #dbd771;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c726",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 38
  },
  "hsl": {
    "h": 60.745,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.80236,
    "c": 0.1666,
    "h": 110.4
  },
  "luminance": 0.52857
}

Semantic roles & 50–950 ramp

primary
#C5C726
secondary
#27266B
accent
#3DEB3F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C5C726

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

Preview Lab → · Contrast checker → · Palette generator →

#C5C726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva