#CFD277#CFD277

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

Color values

HEX#CFD277
RGBrgb(207, 210, 119)
HSLhsl(62, 50%, 65%)
HSVhsv(62, 43%, 82%)
CMYKcmyk(1.4%, 0%, 43.3%, 17.6%)
CIE-LABlab(82.21, -14.11, 44.59)
CIE-LCHlch(82.21, 46.77, 107.55°)
OKLaboklab(84.17% -0.0396 0.1073)
OKLCHoklch(84.17% 0.114 110.3)
XYZxyz(52.1093, 60.6915, 26.4188)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD277 #7A77D2
analogous
#D2A877 #CFD277 #A2D277
triadic
#CFD277 #77CFD2 #D277CF
tetradic
#CFD277 #77D2A8 #7A77D2 #D277A2
square
#CFD277 #77D2A8 #7A77D2 #D277A2
split-complementary
#CFD277 #77A2D2 #A877D2
monochromatic
#989B33 #BFC349 #CFD277 #DFE1A5 #EFF0D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD277#FFFFFF#000000##000000
##CFD2771.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)
#DFCB70
Deuteranopia (green-blind)
#E0CE7B
Tritanopia (blue-blind)
#DAC8BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd277;
/* rgb */ color: rgb(207, 210, 119);
/* oklch */ color: oklch(84.2% 0.114 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdfa0',
    500: '#cfd277',
    950: '#000000',
  },
}
SCSS
$custom: #cfd277;
$custom-light: #dfdfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd277",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 61.978,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84173,
    "c": 0.11443,
    "h": 110.3
  },
  "luminance": 0.6069
}

Semantic roles & 50–950 ramp

primary
#CFD277
secondary
#504DA0
accent
#28BE2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD277

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

Preview Lab → · Contrast checker → · Palette generator →

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