#C5D754#C5D754

#C5D754 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.0% C 0.156 H 116.5°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#C5D754
RGBrgb(197, 215, 84)
HSLhsl(68, 62%, 59%)
HSVhsv(68, 61%, 84%)
CMYKcmyk(8.4%, 0%, 60.9%, 15.7%)
CIE-LABlab(82.44, -23.58, 60.77)
CIE-LCHlch(82.44, 65.18, 111.21°)
OKLaboklab(84.05% -0.0693 0.1392)
OKLCHoklch(84.05% 0.156 116.5)
XYZxyz(48.9276, 61.1119, 17.6041)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D754 #6654D7
analogous
#D7A754 #C5D754 #83D754
triadic
#C5D754 #54C5D7 #D754C5
tetradic
#C5D754 #54D7A7 #6654D7 #D75483
square
#C5D754 #54D7A7 #6654D7 #D75483
split-complementary
#C5D754 #5483D7 #A754D7
monochromatic
#808F21 #ACC12D #C5D754 #D6E386 #E7EEB7

Accessibility & contrast

On white

1.59
#C5D754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#C5D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D754
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D754#FFFFFF#000000##000000
##C5D7541.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC44
Deuteranopia (green-blind)
#E3CE5D
Tritanopia (blue-blind)
#D0CCBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c5d754;
/* rgb */ color: rgb(197, 215, 84);
/* oklch */ color: oklch(84.0% 0.156 116.5);
Tailwind
colors: {
  custom: {
    50: '#d9e389',
    500: '#c5d754',
    950: '#000000',
  },
}
SCSS
$custom: #c5d754;
$custom-light: #d9e389;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d754",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 68.244,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84048,
    "c": 0.15552,
    "h": 116.5
  },
  "luminance": 0.61111
}

Semantic roles & 50–950 ramp

primary
#C5D754
secondary
#473B95
accent
#43E559
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D754

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

Preview Lab → · Contrast checker → · Palette generator →

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