#CDCF38#CDCF38

#CDCF38 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.7% C 0.164 H 110.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CDCF38
RGBrgb(205, 207, 56)
HSLhsl(61, 61%, 52%)
HSVhsv(61, 73%, 81%)
CMYKcmyk(1%, 0%, 72.9%, 18.8%)
CIE-LABlab(80.68, -17.98, 69.81)
CIE-LCHlch(80.68, 72.09, 104.44°)
OKLaboklab(82.73% -0.0568 0.1537)
OKLCHoklch(82.73% 0.164 110.3)
XYZxyz(48.2052, 57.8917, 12.3755)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF38 #3A38CF
analogous
#CF8638 #CDCF38 #82CF38
triadic
#CDCF38 #38CDCF #CF38CD
tetradic
#CDCF38 #38CF86 #3A38CF #CF3882
square
#CDCF38 #38CF86 #3A38CF #CF3882
split-complementary
#CDCF38 #3882CF #8638CF
monochromatic
#70711B #A1A327 #CDCF38 #D9DB69 #E6E79B

Accessibility & contrast

On white

1.67
#CDCF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#CDCF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF38
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF38#FFFFFF#000000##000000
##CDCF381.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC618
Deuteranopia (green-blind)
#E1CA44
Tritanopia (blue-blind)
#DBC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf38;
/* rgb */ color: rgb(205, 207, 56);
/* oklch */ color: oklch(82.7% 0.164 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0dd7a',
    500: '#cdcf38',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf38;
$custom-light: #e0dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf38",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 60.795,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82727,
    "c": 0.16388,
    "h": 110.3
  },
  "luminance": 0.5789
}

Semantic roles & 50–950 ramp

primary
#CDCF38
secondary
#32317A
accent
#44E446
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCF38

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

Preview Lab → · Contrast checker → · Palette generator →

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