#CFC448#CFC448

#CFC448 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.143 H 104.2°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CFC448
RGBrgb(207, 196, 72)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 65%, 81%)
CMYKcmyk(0%, 5.3%, 65.2%, 18.8%)
CIE-LABlab(78.00, -10.79, 61.26)
CIE-LCHlch(78.00, 62.20, 99.99°)
OKLaboklab(80.66% -0.0351 0.1383)
OKLCHoklch(80.66% 0.143 104.2)
XYZxyz(46.6435, 53.2149, 13.9442)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC448 #4853CF
analogous
#CF8048 #CFC448 #97CF48
triadic
#CFC448 #48CFC4 #C448CF
tetradic
#CFC448 #48CF80 #4853CF #CF4897
square
#CFC448 #48CF80 #4853CF #CF4897
split-complementary
#CFC448 #4897CF #8048CF
monochromatic
#7C7521 #ADA22D #CFC448 #DCD478 #E8E3A9

Accessibility & contrast

On white

1.80
#CFC448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CFC448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC448
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC448#FFFFFF#000000##000000
##CFC4481.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#D8C44F
Tritanopia (blue-blind)
#DEB7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc448;
/* rgb */ color: rgb(207, 196, 72);
/* oklch */ color: oklch(80.7% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#e1d581',
    500: '#cfc448',
    950: '#000000',
  },
}
SCSS
$custom: #cfc448;
$custom-light: #e1d581;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc448",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 55.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80665,
    "c": 0.14269,
    "h": 104.2
  },
  "luminance": 0.53213
}

Semantic roles & 50–950 ramp

primary
#CFC448
secondary
#373E84
accent
#53E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC448

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

Preview Lab → · Contrast checker → · Palette generator →

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