#CFC475#CFC475

#CFC475 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.101 H 101.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CFC475
RGBrgb(207, 196, 117)
HSLhsl(53, 48%, 64%)
HSVhsv(53, 43%, 81%)
CMYKcmyk(0%, 5.3%, 43.5%, 18.8%)
CIE-LABlab(78.48, -7.19, 40.94)
CIE-LCHlch(78.48, 41.56, 99.96°)
OKLaboklab(81.2% -0.02 0.099)
OKLCHoklch(81.2% 0.101 101.4)
XYZxyz(48.6840, 54.0311, 24.6907)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC475 #7580CF
analogous
#CF9775 #CFC475 #ADCF75
triadic
#CFC475 #75CFC4 #C475CF
tetradic
#CFC475 #75CF97 #7580CF #CF75AD
square
#CFC475 #75CF97 #7580CF #CF75AD
split-complementary
#CFC475 #75ADCF #9775CF
monochromatic
#968A34 #BFB148 #CFC475 #DFD7A2 #EFEBD0

Accessibility & contrast

On white

1.78
#CFC475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CFC475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC475
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC475#FFFFFF#000000##000000
##CFC4751.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6F
Deuteranopia (green-blind)
#D5C478
Tritanopia (blue-blind)
#DBBAB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc475;
/* rgb */ color: rgb(207, 196, 117);
/* oklch */ color: oklch(81.2% 0.101 101.4);
Tailwind
colors: {
  custom: {
    50: '#dfd59e',
    500: '#cfc475',
    950: '#000000',
  },
}
SCSS
$custom: #cfc475;
$custom-light: #dfd59e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc475",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 117
  },
  "hsl": {
    "h": 52.667,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81199,
    "c": 0.10102,
    "h": 101.4
  },
  "luminance": 0.5403
}

Semantic roles & 50–950 ramp

primary
#CFC475
secondary
#4D569B
accent
#3CBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC475

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

Preview Lab → · Contrast checker → · Palette generator →

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