#CFD278#CFD278

#CFD278 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.113 H 110.3°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#CFD278
RGBrgb(207, 210, 120)
HSLhsl(62, 50%, 65%)
HSVhsv(62, 43%, 82%)
CMYKcmyk(1.4%, 0%, 42.9%, 17.6%)
CIE-LABlab(82.23, -14.00, 44.11)
CIE-LCHlch(82.23, 46.28, 107.61°)
OKLaboklab(84.19% -0.0393 0.1063)
OKLCHoklch(84.19% 0.113 110.3)
XYZxyz(52.1697, 60.7156, 26.7367)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD278 #7B78D2
analogous
#D2A878 #CFD278 #A2D278
triadic
#CFD278 #78CFD2 #D278CF
tetradic
#CFD278 #78D2A8 #7B78D2 #D278A2
square
#CFD278 #78D2A8 #7B78D2 #D278A2
split-complementary
#CFD278 #78A2D2 #A878D2
monochromatic
#989C34 #BFC34A #CFD278 #DFE1A6 #F0F1D4

Accessibility & contrast

On white

1.60
#CFD278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#CFD278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD278
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD278#FFFFFF#000000##000000
##CFD2781.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB71
Deuteranopia (green-blind)
#DFCE7C
Tritanopia (blue-blind)
#DAC8BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd278;
/* rgb */ color: rgb(207, 210, 120);
/* oklch */ color: oklch(84.2% 0.113 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdfa0',
    500: '#cfd278',
    950: '#000000',
  },
}
SCSS
$custom: #cfd278;
$custom-light: #dfdfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd278",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 62,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84188,
    "c": 0.11336,
    "h": 110.3
  },
  "luminance": 0.60715
}

Semantic roles & 50–950 ramp

primary
#CFD278
secondary
#504DA1
accent
#28BD2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD278

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

Preview Lab → · Contrast checker → · Palette generator →

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