#C5CF38#C5CF38

#C5CF38 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.1% C 0.166 H 113.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#C5CF38
RGBrgb(197, 207, 56)
HSLhsl(64, 61%, 52%)
HSVhsv(64, 73%, 81%)
CMYKcmyk(4.8%, 0%, 72.9%, 18.8%)
CIE-LABlab(80.06, -21.32, 69.00)
CIE-LCHlch(80.06, 72.22, 107.17°)
OKLaboklab(82.08% -0.0657 0.1523)
OKLCHoklch(82.08% 0.166 113.3)
XYZxyz(46.0540, 56.7825, 12.2747)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CF38 #4238CF
analogous
#CF8E38 #C5CF38 #79CF38
triadic
#C5CF38 #38C5CF #CF38C5
tetradic
#C5CF38 #38CF8E #4238CF #CF3879
square
#C5CF38 #38CF8E #4238CF #CF3879
split-complementary
#C5CF38 #3879CF #8E38CF
monochromatic
#6C711B #9AA327 #C5CF38 #D3DB69 #E2E79B

Accessibility & contrast

On white

1.70
#C5CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#C5CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CF38
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CF38#FFFFFF#000000##000000
##C5CF381.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC518
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#D2C3B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cf38;
/* rgb */ color: rgb(197, 207, 56);
/* oklch */ color: oklch(82.1% 0.166 113.3);
Tailwind
colors: {
  custom: {
    50: '#dadd79',
    500: '#c5cf38',
    950: '#000000',
  },
}
SCSS
$custom: #c5cf38;
$custom-light: #dadd79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cf38",
  "rgb": {
    "r": 197,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 63.974,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82077,
    "c": 0.16585,
    "h": 113.3
  },
  "luminance": 0.56781
}

Semantic roles & 50–950 ramp

primary
#C5CF38
secondary
#36317A
accent
#44E44E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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