#CFC075#CFC075

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

Color values

HEX#CFC075
RGBrgb(207, 192, 117)
HSLhsl(50, 48%, 64%)
HSVhsv(50, 43%, 81%)
CMYKcmyk(0%, 7.2%, 43.5%, 18.8%)
CIE-LABlab(77.43, -5.12, 39.62)
CIE-LCHlch(77.43, 39.95, 97.36°)
OKLaboklab(80.37% -0.014 0.0961)
OKLCHoklch(80.37% 0.097 98.3)
XYZxyz(47.7938, 52.2506, 24.3940)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC075 #7584CF
analogous
#CF9375 #CFC075 #B1CF75
triadic
#CFC075 #75CFC0 #C075CF
tetradic
#CFC075 #75CF93 #7584CF #CF75B1
square
#CFC075 #75CF93 #7584CF #CF75B1
split-complementary
#CFC075 #75B1CF #9375CF
monochromatic
#968534 #BFAB48 #CFC075 #DFD5A2 #EFE9D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC075#FFFFFF#000000##000000
##CFC0751.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)
#CDBC6F
Deuteranopia (green-blind)
#D2C278
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc075;
/* rgb */ color: rgb(207, 192, 117);
/* oklch */ color: oklch(80.4% 0.097 98.3);
Tailwind
colors: {
  custom: {
    50: '#dfd29e',
    500: '#cfc075',
    950: '#000000',
  },
}
SCSS
$custom: #cfc075;
$custom-light: #dfd29e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc075",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 117
  },
  "hsl": {
    "h": 50,
    "s": 48.387,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80368,
    "c": 0.09706,
    "h": 98.3
  },
  "luminance": 0.52249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC075

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

Preview Lab → · Contrast checker → · Palette generator →

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