#CFD378#CFD378

#CFD378 is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.115 H 110.8°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#CFD378
RGBrgb(207, 211, 120)
HSLhsl(63, 51%, 65%)
HSVhsv(63, 43%, 83%)
CMYKcmyk(1.9%, 0%, 43.1%, 17.3%)
CIE-LABlab(82.49, -14.50, 44.44)
CIE-LCHlch(82.49, 46.75, 108.07°)
OKLaboklab(84.4% -0.0407 0.1071)
OKLCHoklch(84.4% 0.115 110.8)
XYZxyz(52.4173, 61.2110, 26.8193)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD378 #7C78D3
analogous
#D3A978 #CFD378 #A2D378
triadic
#CFD378 #78CFD3 #D378CF
tetradic
#CFD378 #78D3A9 #7C78D3 #D378A2
square
#CFD378 #78D3A9 #7C78D3 #D378A2
split-complementary
#CFD378 #78A2D3 #A978D3
monochromatic
#999D33 #BFC44A #CFD378 #DFE2A6 #F0F1D4

Accessibility & contrast

On white

1.59
#CFD378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#CFD378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD378
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD378#FFFFFF#000000##000000
##CFD3781.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC71
Deuteranopia (green-blind)
#E0CF7C
Tritanopia (blue-blind)
#DAC9BD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd378;
/* rgb */ color: rgb(207, 211, 120);
/* oklch */ color: oklch(84.4% 0.115 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe0a0',
    500: '#cfd378',
    950: '#000000',
  },
}
SCSS
$custom: #cfd378;
$custom-light: #dfe0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd378",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 62.637,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.844,
    "c": 0.11456,
    "h": 110.8
  },
  "luminance": 0.6121
}

Semantic roles & 50–950 ramp

primary
#CFD378
secondary
#514DA2
accent
#27BE2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD378

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

Preview Lab → · Contrast checker → · Palette generator →

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