#CFC82E#CFC82E

#CFC82E is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.162 H 106.8°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CFC82E
RGBrgb(207, 200, 46)
HSLhsl(57, 64%, 50%)
HSVhsv(57, 78%, 81%)
CMYKcmyk(0%, 3.4%, 77.8%, 18.8%)
CIE-LABlab(78.91, -14.04, 71.38)
CIE-LCHlch(78.91, 72.75, 101.13°)
OKLaboklab(81.34% -0.0467 0.1552)
OKLCHoklch(81.34% 0.162 106.8)
XYZxyz(46.8815, 54.7729, 10.6870)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC82E #2E35CF
analogous
#CF772E #CFC82E #86CF2E
triadic
#CFC82E #2ECFC8 #C82ECF
tetradic
#CFC82E #2ECF77 #2E35CF #CF2E86
square
#CFC82E #2ECF77 #2E35CF #CF2E86
split-complementary
#CFC82E #2E86CF #772ECF
monochromatic
#6B6718 #9D9823 #CFC82E #DBD65F #E7E391

Accessibility & contrast

On white

1.76
#CFC82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CFC82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC82E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC82E#FFFFFF#000000##000000
##CFC82E1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DDC63B
Tritanopia (blue-blind)
#DFBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc82e;
/* rgb */ color: rgb(207, 200, 46);
/* oklch */ color: oklch(81.3% 0.162 106.8);
Tailwind
colors: {
  custom: {
    50: '#e2d874',
    500: '#cfc82e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc82e;
$custom-light: #e2d874;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc82e",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 57.391,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81338,
    "c": 0.16209,
    "h": 106.8
  },
  "luminance": 0.54771
}

Semantic roles & 50–950 ramp

primary
#CFC82E
secondary
#2D3075
accent
#48E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC82E

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

Preview Lab → · Contrast checker → · Palette generator →

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