#CFCF50#CFCF50

#CFCF50 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.147 H 109.2°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CFCF50
RGBrgb(207, 207, 80)
HSLhsl(60, 57%, 56%)
HSVhsv(60, 61%, 81%)
CMYKcmyk(0%, 0%, 61.4%, 18.8%)
CIE-LABlab(81.00, -15.84, 61.12)
CIE-LCHlch(81.00, 63.14, 104.53°)
OKLaboklab(83.07% -0.0485 0.1392)
OKLCHoklch(83.07% 0.147 109.2)
XYZxyz(49.4944, 58.4716, 16.2668)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF50 #5050CF
analogous
#CF9050 #CFCF50 #90CF50
triadic
#CFCF50 #50CFCF #CF50CF
tetradic
#CFCF50 #50CF90 #5050CF #CF5090
square
#CFCF50 #50CF90 #5050CF #CF5090
split-complementary
#CFCF50 #5090CF #9050CF
monochromatic
#818123 #B1B131 #CFCF50 #DCDC80 #E9E9B0

Accessibility & contrast

On white

1.65
#CFCF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#CFCF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF50
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF50#FFFFFF#000000##000000
##CFCF501.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC740
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#DDC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf50;
/* rgb */ color: rgb(207, 207, 80);
/* oklch */ color: oklch(83.1% 0.147 109.2);
Tailwind
colors: {
  custom: {
    50: '#e1dd87',
    500: '#cfcf50',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf50;
$custom-light: #e1dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf50",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83074,
    "c": 0.14742,
    "h": 109.2
  },
  "luminance": 0.5847
}

Semantic roles & 50–950 ramp

primary
#CFCF50
secondary
#3B3B89
accent
#48E048
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCF50

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

Preview Lab → · Contrast checker → · Palette generator →

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