#CFD273#CFD273

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

Color values

HEX#CFD273
RGBrgb(207, 210, 115)
HSLhsl(62, 51%, 64%)
HSVhsv(62, 45%, 82%)
CMYKcmyk(1.4%, 0%, 45.2%, 17.6%)
CIE-LABlab(82.16, -14.50, 46.48)
CIE-LCHlch(82.16, 48.69, 107.33°)
OKLaboklab(84.12% -0.0411 0.1113)
OKLCHoklch(84.12% 0.119 110.3)
XYZxyz(51.8741, 60.5974, 25.1802)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD273 #7673D2
analogous
#D2A573 #CFD273 #9FD273
triadic
#CFD273 #73CFD2 #D273CF
tetradic
#CFD273 #73D2A5 #7673D2 #D2739F
square
#CFD273 #73D2A5 #7673D2 #D2739F
split-complementary
#CFD273 #739FD2 #A573D2
monochromatic
#969931 #BFC345 #CFD273 #DFE1A1 #EFF0D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD273#FFFFFF#000000##000000
##CFD2731.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)
#DFCB6B
Deuteranopia (green-blind)
#E0CE78
Tritanopia (blue-blind)
#DAC8BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd273;
/* rgb */ color: rgb(207, 210, 115);
/* oklch */ color: oklch(84.1% 0.119 110.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf9d',
    500: '#cfd273',
    950: '#000000',
  },
}
SCSS
$custom: #cfd273;
$custom-light: #dfdf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd273",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 61.895,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84116,
    "c": 0.11864,
    "h": 110.3
  },
  "luminance": 0.60596
}

Semantic roles & 50–950 ramp

primary
#CFD273
secondary
#4D4B9F
accent
#27BF2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD273

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

Preview Lab → · Contrast checker → · Palette generator →

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