#C7DB40#C7DB40

#C7DB40 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 84.9% C 0.173 H 116.7°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#C7DB40
RGBrgb(199, 219, 64)
HSLhsl(68, 68%, 55%)
HSVhsv(68, 71%, 86%)
CMYKcmyk(9.1%, 0%, 70.8%, 14.1%)
CIE-LABlab(83.53, -25.91, 69.67)
CIE-LCHlch(83.53, 74.33, 110.40°)
OKLaboklab(84.92% -0.0778 0.155)
OKLCHoklch(84.92% 0.173 116.7)
XYZxyz(49.8113, 63.1760, 14.4196)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB40 #5440DB
analogous
#DBA140 #C7DB40 #79DB40
triadic
#C7DB40 #40C7DB #DB40C7
tetradic
#C7DB40 #40DBA1 #5440DB #DB4079
square
#C7DB40 #40DBA1 #5440DB #DB4079
split-complementary
#C7DB40 #4079DB #A140DB
monochromatic
#798719 #A7BB23 #C7DB40 #D6E573 #E5EEA7

Accessibility & contrast

On white

1.54
#C7DB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#C7DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DB40
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DB40#FFFFFF#000000##000000
##C7DB401.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD024
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#D3CFBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7db40;
/* rgb */ color: rgb(199, 219, 64);
/* oklch */ color: oklch(84.9% 0.173 116.7);
Tailwind
colors: {
  custom: {
    50: '#dce67f',
    500: '#c7db40',
    950: '#000000',
  },
}
SCSS
$custom: #c7db40;
$custom-light: #dce67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db40",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 67.742,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84918,
    "c": 0.17342,
    "h": 116.7
  },
  "luminance": 0.63175
}

Semantic roles & 50–950 ramp

primary
#C7DB40
secondary
#3E328D
accent
#3DEB53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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