#CFCF43#CFCF43

#CFCF43 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.0% C 0.157 H 109.4°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CFCF43
RGBrgb(207, 207, 67)
HSLhsl(60, 59%, 54%)
HSVhsv(60, 68%, 81%)
CMYKcmyk(0%, 0%, 67.6%, 18.8%)
CIE-LABlab(80.90, -16.61, 66.19)
CIE-LCHlch(80.90, 68.24, 104.09°)
OKLaboklab(82.97% -0.052 0.1479)
OKLCHoklch(82.97% 0.157 109.4)
XYZxyz(49.0597, 58.2977, 13.9774)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF43 #4343CF
analogous
#CF8943 #CFCF43 #89CF43
triadic
#CFCF43 #43CFCF #CF43CF
tetradic
#CFCF43 #43CF89 #4343CF #CF4389
square
#CFCF43 #43CF89 #4343CF #CF4389
split-complementary
#CFCF43 #4389CF #8943CF
monochromatic
#79791F #AAAA2B #CFCF43 #DBDB74 #E8E8A5

Accessibility & contrast

On white

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

On black

12.66
#CFCF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF43
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF43#FFFFFF#000000##000000
##CFCF431.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62D
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#DDC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf43;
/* rgb */ color: rgb(207, 207, 67);
/* oklch */ color: oklch(83.0% 0.157 109.4);
Tailwind
colors: {
  custom: {
    50: '#e1dd7f',
    500: '#cfcf43',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf43;
$custom-light: #e1dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf43",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82967,
    "c": 0.15678,
    "h": 109.4
  },
  "luminance": 0.58296
}

Semantic roles & 50–950 ramp

primary
#CFCF43
secondary
#353581
accent
#45E345
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFCF43

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

Preview Lab → · Contrast checker → · Palette generator →

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