#CFCF3C#CFCF3C

#CFCF3C is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.161 H 109.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CFCF3C
RGBrgb(207, 207, 60)
HSLhsl(60, 60%, 52%)
HSVhsv(60, 71%, 81%)
CMYKcmyk(0%, 0%, 71%, 18.8%)
CIE-LABlab(80.86, -16.96, 68.68)
CIE-LCHlch(80.86, 70.74, 103.87°)
OKLaboklab(82.92% -0.0537 0.152)
OKLCHoklch(82.92% 0.161 109.5)
XYZxyz(48.8623, 58.2187, 12.9375)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF3C #3C3CCF
analogous
#CF863C #CFCF3C #86CF3C
triadic
#CFCF3C #3CCFCF #CF3CCF
tetradic
#CFCF3C #3CCF86 #3C3CCF #CF3C86
square
#CFCF3C #3CCF86 #3C3CCF #CF3C86
split-complementary
#CFCF3C #3C86CF #863CCF
monochromatic
#74741D #A5A529 #CFCF3C #DBDB6D #E7E79E

Accessibility & contrast

On white

1.66
#CFCF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CFCF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF3C
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF3C#FFFFFF#000000##000000
##CFCF3C1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C621
Deuteranopia (green-blind)
#E1CB47
Tritanopia (blue-blind)
#DEC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf3c;
/* rgb */ color: rgb(207, 207, 60);
/* oklch */ color: oklch(82.9% 0.161 109.5);
Tailwind
colors: {
  custom: {
    50: '#e1dd7c',
    500: '#cfcf3c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf3c;
$custom-light: #e1dd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf3c",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82918,
    "c": 0.16117,
    "h": 109.5
  },
  "luminance": 0.58217
}

Semantic roles & 50–950 ramp

primary
#CFCF3C
secondary
#33337D
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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