#C7CF38#C7CF38

#C7CF38 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.2% C 0.165 H 112.6°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#C7CF38
RGBrgb(199, 207, 56)
HSLhsl(63, 61%, 52%)
HSVhsv(63, 73%, 81%)
CMYKcmyk(3.9%, 0%, 72.9%, 18.8%)
CIE-LABlab(80.21, -20.49, 69.20)
CIE-LCHlch(80.21, 72.17, 106.49°)
OKLaboklab(82.24% -0.0635 0.1527)
OKLCHoklch(82.24% 0.165 112.6)
XYZxyz(46.5813, 57.0544, 12.2994)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF38 #4038CF
analogous
#CF8C38 #C7CF38 #7CCF38
triadic
#C7CF38 #38C7CF #CF38C7
tetradic
#C7CF38 #38CF8C #4038CF #CF387C
square
#C7CF38 #38CF8C #4038CF #CF387C
split-complementary
#C7CF38 #387CCF #8C38CF
monochromatic
#6D711B #9CA327 #C7CF38 #D5DB69 #E3E79B

Accessibility & contrast

On white

1.69
#C7CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#C7CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF38
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF38#FFFFFF#000000##000000
##C7CF381.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC518
Deuteranopia (green-blind)
#DFC944
Tritanopia (blue-blind)
#D5C2B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cf38;
/* rgb */ color: rgb(199, 207, 56);
/* oklch */ color: oklch(82.2% 0.165 112.6);
Tailwind
colors: {
  custom: {
    50: '#dcdd79',
    500: '#c7cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf38;
$custom-light: #dcdd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf38",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 63.179,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82237,
    "c": 0.16532,
    "h": 112.6
  },
  "luminance": 0.57053
}

Semantic roles & 50–950 ramp

primary
#C7CF38
secondary
#35317A
accent
#44E44C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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