#CFCA46#CFCA46

#CFCA46 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.150 H 107.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CFCA46
RGBrgb(207, 202, 70)
HSLhsl(58, 59%, 54%)
HSVhsv(58, 66%, 81%)
CMYKcmyk(0%, 2.4%, 66.2%, 18.8%)
CIE-LABlab(79.59, -13.95, 63.70)
CIE-LCHlch(79.59, 65.21, 102.35°)
OKLaboklab(81.92% -0.0442 0.1431)
OKLCHoklch(81.92% 0.15 107.2)
XYZxyz(47.9599, 55.9502, 14.0663)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA46 #464BCF
analogous
#CF8646 #CFCA46 #90CF46
triadic
#CFCA46 #46CFCA #CA46CF
tetradic
#CFCA46 #46CF86 #464BCF #CF4690
square
#CFCA46 #46CF86 #464BCF #CF4690
split-complementary
#CFCA46 #4690CF #8646CF
monochromatic
#7B7720 #ABA72C #CFCA46 #DCD877 #E8E6A7

Accessibility & contrast

On white

1.72
#CFCA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#CFCA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA46
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA46#FFFFFF#000000##000000
##CFCA461.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC233
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#DEBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca46;
/* rgb */ color: rgb(207, 202, 70);
/* oklch */ color: oklch(81.9% 0.150 107.2);
Tailwind
colors: {
  custom: {
    50: '#e1d980',
    500: '#cfca46',
    950: '#000000',
  },
}
SCSS
$custom: #cfca46;
$custom-light: #e1d980;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca46",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 57.81,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81921,
    "c": 0.14982,
    "h": 107.2
  },
  "luminance": 0.55949
}

Semantic roles & 50–950 ramp

primary
#CFCA46
secondary
#363983
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA46

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

Preview Lab → · Contrast checker → · Palette generator →

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