#CFCD2E#CFCD2E

#CFCD2E is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.167 H 108.8°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CFCD2E
RGBrgb(207, 205, 46)
HSLhsl(59, 64%, 50%)
HSVhsv(59, 78%, 81%)
CMYKcmyk(0%, 1%, 77.8%, 18.8%)
CIE-LABlab(80.25, -16.54, 72.58)
CIE-LCHlch(80.25, 74.44, 102.84°)
OKLaboklab(82.41% -0.0537 0.1578)
OKLCHoklch(82.41% 0.167 108.8)
XYZxyz(48.0585, 57.1269, 11.0793)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD2E #2E30CF
analogous
#CF7D2E #CFCD2E #80CF2E
triadic
#CFCD2E #2ECFCD #CD2ECF
tetradic
#CFCD2E #2ECF7D #2E30CF #CF2E80
square
#CFCD2E #2ECF7D #2E30CF #CF2E80
split-complementary
#CFCD2E #2E80CF #7D2ECF
monochromatic
#6B6A18 #9D9B23 #CFCD2E #DBDA5F #E7E591

Accessibility & contrast

On white

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

On black

12.43
#CFCD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD2E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD2E#FFFFFF#000000##000000
##CFCD2E1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#E0C93C
Tritanopia (blue-blind)
#DEBFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcd2e;
/* rgb */ color: rgb(207, 205, 46);
/* oklch */ color: oklch(82.4% 0.167 108.8);
Tailwind
colors: {
  custom: {
    50: '#e2db75',
    500: '#cfcd2e',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd2e;
$custom-light: #e2db75;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd2e",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 46
  },
  "hsl": {
    "h": 59.255,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.82408,
    "c": 0.16666,
    "h": 108.8
  },
  "luminance": 0.57125
}

Semantic roles & 50–950 ramp

primary
#CFCD2E
secondary
#2D2E75
accent
#43E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CFCD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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