#CFD374#CFD374

#CFD374 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.3% C 0.119 H 110.8°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#CFD374
RGBrgb(207, 211, 116)
HSLhsl(63, 52%, 64%)
HSVhsv(63, 45%, 83%)
CMYKcmyk(1.9%, 0%, 45%, 17.3%)
CIE-LABlab(82.44, -14.91, 46.34)
CIE-LCHlch(82.44, 48.68, 107.83°)
OKLaboklab(84.34% -0.0422 0.111)
OKLCHoklch(84.34% 0.119 110.8)
XYZxyz(52.1796, 61.1159, 25.5674)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD374 #7874D3
analogous
#D3A874 #CFD374 #A0D374
triadic
#CFD374 #74CFD3 #D374CF
tetradic
#CFD374 #74D3A8 #7874D3 #D374A0
square
#CFD374 #74D3A8 #7874D3 #D374A0
split-complementary
#CFD374 #74A0D3 #A874D3
monochromatic
#979B31 #BFC446 #CFD374 #DFE2A2 #EFF0D1

Accessibility & contrast

On white

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

On black

13.22
#CFD374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD374
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD374#FFFFFF#000000##000000
##CFD3741.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd374;
/* rgb */ color: rgb(207, 211, 116);
/* oklch */ color: oklch(84.3% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe09e',
    500: '#cfd374',
    950: '#000000',
  },
}
SCSS
$custom: #cfd374;
$custom-light: #dfe09e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd374",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 62.526,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84343,
    "c": 0.11878,
    "h": 110.8
  },
  "luminance": 0.61115
}

Semantic roles & 50–950 ramp

primary
#CFD374
secondary
#4E4BA0
accent
#26BF2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD374

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

Preview Lab → · Contrast checker → · Palette generator →

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