#CFC745#CFC745

#CFC745 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.148 H 105.8°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CFC745
RGBrgb(207, 199, 69)
HSLhsl(57, 59%, 54%)
HSVhsv(57, 67%, 81%)
CMYKcmyk(0%, 3.9%, 66.7%, 18.8%)
CIE-LABlab(78.78, -12.49, 63.27)
CIE-LCHlch(78.78, 64.49, 101.17°)
OKLaboklab(81.28% -0.0402 0.1421)
OKLCHoklch(81.28% 0.148 105.8)
XYZxyz(47.2315, 54.5436, 13.6691)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC745 #454DCF
analogous
#CF8245 #CFC745 #92CF45
triadic
#CFC745 #45CFC7 #C745CF
tetradic
#CFC745 #45CF82 #454DCF #CF4592
square
#CFC745 #45CF82 #454DCF #CF4592
split-complementary
#CFC745 #4592CF #8245CF
monochromatic
#7A7520 #ABA32C #CFC745 #DCD676 #E8E4A6

Accessibility & contrast

On white

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

On black

11.91
#CFC745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC745
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC745#FFFFFF#000000##000000
##CFC7451.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc745;
/* rgb */ color: rgb(207, 199, 69);
/* oklch */ color: oklch(81.3% 0.148 105.8);
Tailwind
colors: {
  custom: {
    50: '#e1d780',
    500: '#cfc745',
    950: '#000000',
  },
}
SCSS
$custom: #cfc745;
$custom-light: #e1d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc745",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 56.522,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81276,
    "c": 0.14765,
    "h": 105.8
  },
  "luminance": 0.54542
}

Semantic roles & 50–950 ramp

primary
#CFC745
secondary
#363A82
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC745

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

Preview Lab → · Contrast checker → · Palette generator →

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