#CFC378#CFC378

#CFC378 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.097 H 100.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CFC378
RGBrgb(207, 195, 120)
HSLhsl(52, 48%, 64%)
HSVhsv(52, 42%, 81%)
CMYKcmyk(0%, 5.8%, 42%, 18.8%)
CIE-LABlab(78.26, -6.36, 39.14)
CIE-LCHlch(78.26, 39.65, 99.23°)
OKLaboklab(81.04% -0.0173 0.0951)
OKLCHoklch(81.04% 0.097 100.3)
XYZxyz(48.6384, 53.6531, 25.5596)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC378 #7884CF
analogous
#CF9878 #CFC378 #B0CF78
triadic
#CFC378 #78CFC3 #C378CF
tetradic
#CFC378 #78CF98 #7884CF #CF78B0
square
#CFC378 #78CF98 #7884CF #CF78B0
split-complementary
#CFC378 #78B0CF #9878CF
monochromatic
#978A36 #BFAF4B #CFC378 #DFD7A5 #EFEBD2

Accessibility & contrast

On white

1.79
#CFC378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CFC378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC378
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC378#FFFFFF#000000##000000
##CFC3781.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF72
Deuteranopia (green-blind)
#D4C47B
Tritanopia (blue-blind)
#DBB9B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc378;
/* rgb */ color: rgb(207, 195, 120);
/* oklch */ color: oklch(81.0% 0.097 100.3);
Tailwind
colors: {
  custom: {
    50: '#dfd5a0',
    500: '#cfc378',
    950: '#000000',
  },
}
SCSS
$custom: #cfc378;
$custom-light: #dfd5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc378",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 51.724,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81038,
    "c": 0.09671,
    "h": 100.3
  },
  "luminance": 0.53652
}

Semantic roles & 50–950 ramp

primary
#CFC378
secondary
#4E599D
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC378

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

Preview Lab → · Contrast checker → · Palette generator →

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