#CFC074#CFC074

#CFC074 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.098 H 98.4°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CFC074
RGBrgb(207, 192, 116)
HSLhsl(50, 49%, 63%)
HSVhsv(50, 44%, 81%)
CMYKcmyk(0%, 7.2%, 44%, 18.8%)
CIE-LABlab(77.42, -5.22, 40.11)
CIE-LCHlch(77.42, 40.44, 97.41°)
OKLaboklab(80.35% -0.0144 0.0971)
OKLCHoklch(80.35% 0.098 98.4)
XYZxyz(47.7353, 52.2272, 24.0860)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC074 #7483CF
analogous
#CF9274 #CFC074 #B0CF74
triadic
#CFC074 #74CFC0 #C074CF
tetradic
#CFC074 #74CF92 #7483CF #CF74B0
square
#CFC074 #74CF92 #7483CF #CF74B0
split-complementary
#CFC074 #74B0CF #9274CF
monochromatic
#958533 #BFAB47 #CFC074 #DFD5A1 #EEE9CF

Accessibility & contrast

On white

1.83
#CFC074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CFC074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC074
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC074#FFFFFF#000000##000000
##CFC0741.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6E
Deuteranopia (green-blind)
#D2C277
Tritanopia (blue-blind)
#DBB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc074;
/* rgb */ color: rgb(207, 192, 116);
/* oklch */ color: oklch(80.4% 0.098 98.4);
Tailwind
colors: {
  custom: {
    50: '#dfd29d',
    500: '#cfc074',
    950: '#000000',
  },
}
SCSS
$custom: #cfc074;
$custom-light: #dfd29d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc074",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 116
  },
  "hsl": {
    "h": 50.11,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80352,
    "c": 0.09816,
    "h": 98.4
  },
  "luminance": 0.52226
}

Semantic roles & 50–950 ramp

primary
#CFC074
secondary
#4C599B
accent
#42BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC074

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

Preview Lab → · Contrast checker → · Palette generator →

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