#CFC741#CFC741

#CFC741 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.150 H 105.9°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CFC741
RGBrgb(207, 199, 65)
HSLhsl(57, 60%, 53%)
HSVhsv(57, 69%, 81%)
CMYKcmyk(0%, 3.9%, 68.6%, 18.8%)
CIE-LABlab(78.75, -12.70, 64.79)
CIE-LCHlch(78.75, 66.02, 101.09°)
OKLaboklab(81.24% -0.0412 0.1446)
OKLCHoklch(81.24% 0.15 105.9)
XYZxyz(47.1115, 54.4956, 13.0371)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC741 #4149CF
analogous
#CF8041 #CFC741 #90CF41
triadic
#CFC741 #41CFC7 #C741CF
tetradic
#CFC741 #41CF80 #4149CF #CF4190
square
#CFC741 #41CF80 #4149CF #CF4190
split-complementary
#CFC741 #4190CF #8041CF
monochromatic
#77721E #A8A12B #CFC741 #DBD572 #E8E4A3

Accessibility & contrast

On white

1.76
#CFC741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CFC741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC741
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC741#FFFFFF#000000##000000
##CFC7411.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02C
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#DEBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc741;
/* rgb */ color: rgb(207, 199, 65);
/* oklch */ color: oklch(81.2% 0.150 105.9);
Tailwind
colors: {
  custom: {
    50: '#e1d77d',
    500: '#cfc741',
    950: '#000000',
  },
}
SCSS
$custom: #cfc741;
$custom-light: #e1d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc741",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 65
  },
  "hsl": {
    "h": 56.62,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81244,
    "c": 0.15038,
    "h": 105.9
  },
  "luminance": 0.54494
}

Semantic roles & 50–950 ramp

primary
#CFC741
secondary
#343980
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC741

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

Preview Lab → · Contrast checker → · Palette generator →

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