#CFC93F#CFC93F

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

Color values

HEX#CFC93F
RGBrgb(207, 201, 63)
HSLhsl(58, 60%, 53%)
HSVhsv(58, 70%, 81%)
CMYKcmyk(0%, 2.9%, 69.6%, 18.8%)
CIE-LABlab(79.27, -13.81, 66.05)
CIE-LCHlch(79.27, 67.48, 101.81°)
OKLaboklab(81.66% -0.0446 0.147)
OKLCHoklch(81.66% 0.154 106.9)
XYZxyz(47.5178, 55.3992, 12.8917)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC93F #3F45CF
analogous
#CF813F #CFC93F #8DCF3F
triadic
#CFC93F #3FCFC9 #C93FCF
tetradic
#CFC93F #3FCF81 #3F45CF #CF3F8D
square
#CFC93F #3FCF81 #3F45CF #CF3F8D
split-complementary
#CFC93F #3F8DCF #813FCF
monochromatic
#76721E #A7A22A #CFC93F #DBD770 #E7E5A1

Accessibility & contrast

On white

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

On black

12.08
#CFC93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC93F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC93F#FFFFFF#000000##000000
##CFC93F1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC129
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#DEBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc93f;
/* rgb */ color: rgb(207, 201, 63);
/* oklch */ color: oklch(81.7% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#e1d97d',
    500: '#cfc93f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc93f;
$custom-light: #e1d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc93f",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 57.5,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81655,
    "c": 0.15356,
    "h": 106.9
  },
  "luminance": 0.55398
}

Semantic roles & 50–950 ramp

primary
#CFC93F
secondary
#34377F
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC93F

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

Preview Lab → · Contrast checker → · Palette generator →

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