#CFC245#CFC245

#CFC245 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.143 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CFC245
RGBrgb(207, 194, 69)
HSLhsl(54, 59%, 54%)
HSVhsv(54, 67%, 81%)
CMYKcmyk(0%, 6.3%, 66.7%, 18.8%)
CIE-LABlab(77.45, -9.95, 61.90)
CIE-LCHlch(77.45, 62.70, 99.13°)
OKLaboklab(80.22% -0.033 0.1392)
OKLCHoklch(80.22% 0.143 103.3)
XYZxyz(46.0999, 52.2805, 13.2919)
Luminance0.5228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC245 #4552CF
analogous
#CF7D45 #CFC245 #97CF45
triadic
#CFC245 #45CFC2 #C245CF
tetradic
#CFC245 #45CF7D #4552CF #CF4597
square
#CFC245 #45CF7D #4552CF #CF4597
split-complementary
#CFC245 #4597CF #7D45CF
monochromatic
#7A7220 #AB9F2C #CFC245 #DCD276 #E8E2A6

Accessibility & contrast

On white

1.83
#CFC245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CFC245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC245
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC245#FFFFFF#000000##000000
##CFC2451.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#DEB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc245;
/* rgb */ color: rgb(207, 194, 69);
/* oklch */ color: oklch(80.2% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#e1d47f',
    500: '#cfc245',
    950: '#000000',
  },
}
SCSS
$custom: #cfc245;
$custom-light: #e1d47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc245",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 69
  },
  "hsl": {
    "h": 54.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80218,
    "c": 0.14305,
    "h": 103.3
  },
  "luminance": 0.52279
}

Semantic roles & 50–950 ramp

primary
#CFC245
secondary
#363D82
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC245

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

Preview Lab → · Contrast checker → · Palette generator →

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