#CFC082#CFC082

#CFC082 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.082 H 96.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CFC082
RGBrgb(207, 192, 130)
HSLhsl(48, 45%, 66%)
HSVhsv(48, 37%, 81%)
CMYKcmyk(0%, 7.2%, 37.2%, 18.8%)
CIE-LABlab(77.63, -3.70, 33.18)
CIE-LCHlch(77.63, 33.39, 96.36°)
OKLaboklab(80.58% -0.0089 0.0819)
OKLCHoklch(80.58% 0.082 96.2)
XYZxyz(48.6119, 52.5778, 28.7026)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC082 #8291CF
analogous
#CF9982 #CFC082 #B7CF82
triadic
#CFC082 #82CFC0 #C082CF
tetradic
#CFC082 #82CF99 #8291CF #CF82B7
square
#CFC082 #82CF99 #8291CF #CF82B7
split-complementary
#CFC082 #82B7CF #9982CF
monochromatic
#9B883C #BEAA56 #CFC082 #E0D6AE #F1EDDA

Accessibility & contrast

On white

1.82
#CFC082 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CFC082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC082
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC082#FFFFFF#000000##000000
##CFC0821.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7E
Deuteranopia (green-blind)
#D0C284
Tritanopia (blue-blind)
#DAB7B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc082;
/* rgb */ color: rgb(207, 192, 130);
/* oklch */ color: oklch(80.6% 0.082 96.2);
Tailwind
colors: {
  custom: {
    50: '#dfd2a7',
    500: '#cfc082',
    950: '#000000',
  },
}
SCSS
$custom: #cfc082;
$custom-light: #dfd2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc082",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 130
  },
  "hsl": {
    "h": 48.312,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.80585,
    "c": 0.08241,
    "h": 96.2
  },
  "luminance": 0.52576
}

Semantic roles & 50–950 ramp

primary
#CFC082
secondary
#5463A1
accent
#49B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC082

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

Preview Lab → · Contrast checker → · Palette generator →

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