#CFD274#CFD274

#CFD274 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.118 H 110.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#CFD274
RGBrgb(207, 210, 116)
HSLhsl(62, 51%, 64%)
HSVhsv(62, 45%, 82%)
CMYKcmyk(1.4%, 0%, 44.8%, 17.6%)
CIE-LABlab(82.17, -14.40, 46.01)
CIE-LCHlch(82.17, 48.21, 107.38°)
OKLaboklab(84.13% -0.0408 0.1103)
OKLCHoklch(84.13% 0.118 110.3)
XYZxyz(51.9320, 60.6206, 25.4849)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD274 #7774D2
analogous
#D2A674 #CFD274 #A0D274
triadic
#CFD274 #74CFD2 #D274CF
tetradic
#CFD274 #74D2A6 #7774D2 #D274A0
square
#CFD274 #74D2A6 #7774D2 #D274A0
split-complementary
#CFD274 #74A0D2 #A674D2
monochromatic
#969A32 #BFC346 #CFD274 #DFE1A2 #EFF0D0

Accessibility & contrast

On white

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

On black

13.12
#CFD274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD274
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD274#FFFFFF#000000##000000
##CFD2741.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd274;
/* rgb */ color: rgb(207, 210, 116);
/* oklch */ color: oklch(84.1% 0.118 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf9e',
    500: '#cfd274',
    950: '#000000',
  },
}
SCSS
$custom: #cfd274;
$custom-light: #dfdf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd274",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 116
  },
  "hsl": {
    "h": 61.915,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84131,
    "c": 0.11759,
    "h": 110.3
  },
  "luminance": 0.6062
}

Semantic roles & 50–950 ramp

primary
#CFD274
secondary
#4E4B9F
accent
#27BE2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD274

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

Preview Lab → · Contrast checker → · Palette generator →

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