#CFC93C#CFC93C

#CFC93C is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.155 H 106.9°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CFC93C
RGBrgb(207, 201, 60)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 2.9%, 71%, 18.8%)
CIE-LABlab(79.25, -13.96, 67.12)
CIE-LCHlch(79.25, 68.56, 101.75°)
OKLaboklab(81.63% -0.0453 0.1487)
OKLCHoklch(81.63% 0.155 106.9)
XYZxyz(47.4362, 55.3666, 12.4622)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC93C #3C42CF
analogous
#CF803C #CFC93C #8CCF3C
triadic
#CFC93C #3CCFC9 #C93CCF
tetradic
#CFC93C #3CCF80 #3C42CF #CF3C8C
square
#CFC93C #3CCF80 #3C42CF #CF3C8C
split-complementary
#CFC93C #3C8CCF #803CCF
monochromatic
#74701D #A5A029 #CFC93C #DBD76D #E7E49E

Accessibility & contrast

On white

1.74
#CFC93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CFC93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC93C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC93C#FFFFFF#000000##000000
##CFC93C1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#DEBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc93c;
/* rgb */ color: rgb(207, 201, 60);
/* oklch */ color: oklch(81.6% 0.155 106.9);
Tailwind
colors: {
  custom: {
    50: '#e1d97b',
    500: '#cfc93c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc93c;
$custom-light: #e1d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc93c",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 57.551,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81634,
    "c": 0.15543,
    "h": 106.9
  },
  "luminance": 0.55365
}

Semantic roles & 50–950 ramp

primary
#CFC93C
secondary
#33367D
accent
#4BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC93C

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

Preview Lab → · Contrast checker → · Palette generator →

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