#C7D754#C7D754

#C7D754 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.2% C 0.155 H 115.7°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#C7D754
RGBrgb(199, 215, 84)
HSLhsl(67, 62%, 59%)
HSVhsv(67, 61%, 84%)
CMYKcmyk(7.4%, 0%, 60.9%, 15.7%)
CIE-LABlab(82.58, -22.78, 60.97)
CIE-LCHlch(82.58, 65.08, 110.49°)
OKLaboklab(84.2% -0.0672 0.1396)
OKLCHoklch(84.2% 0.155 115.7)
XYZxyz(49.4549, 61.3838, 17.6288)
Luminance0.6138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D754 #6454D7
analogous
#D7A554 #C7D754 #85D754
triadic
#C7D754 #54C7D7 #D754C7
tetradic
#C7D754 #54D7A5 #6454D7 #D75485
square
#C7D754 #54D7A5 #6454D7 #D75485
split-complementary
#C7D754 #5485D7 #A554D7
monochromatic
#828F21 #AFC12D #C7D754 #D7E386 #E7EEB7

Accessibility & contrast

On white

1.58
#C7D754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#C7D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D754
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D754#FFFFFF#000000##000000
##C7D7541.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD44
Deuteranopia (green-blind)
#E4CF5D
Tritanopia (blue-blind)
#D3CCBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d754;
/* rgb */ color: rgb(199, 215, 84);
/* oklch */ color: oklch(84.2% 0.155 115.7);
Tailwind
colors: {
  custom: {
    50: '#dbe38a',
    500: '#c7d754',
    950: '#000000',
  },
}
SCSS
$custom: #c7d754;
$custom-light: #dbe38a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d754",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 67.328,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84201,
    "c": 0.15492,
    "h": 115.7
  },
  "luminance": 0.61383
}

Semantic roles & 50–950 ramp

primary
#C7D754
secondary
#463B95
accent
#43E556
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D754

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

Preview Lab → · Contrast checker → · Palette generator →

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