#CFC830#CFC830

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

Color values

HEX#CFC830
RGBrgb(207, 200, 48)
HSLhsl(57, 62%, 50%)
HSVhsv(57, 77%, 81%)
CMYKcmyk(0%, 3.4%, 76.8%, 18.8%)
CIE-LABlab(78.92, -13.97, 70.79)
CIE-LCHlch(78.92, 72.16, 101.16°)
OKLaboklab(81.35% -0.0464 0.1543)
OKLCHoklch(81.35% 0.161 106.7)
XYZxyz(46.9219, 54.7891, 10.8995)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC830 #3037CF
analogous
#CF7830 #CFC830 #87CF30
triadic
#CFC830 #30CFC8 #C830CF
tetradic
#CFC830 #30CF78 #3037CF #CF3087
square
#CFC830 #30CF78 #3037CF #CF3087
split-complementary
#CFC830 #3087CF #7830CF
monochromatic
#6C6819 #9D9824 #CFC830 #DBD562 #E6E293

Accessibility & contrast

On white

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

On black

11.96
#CFC830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC830
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC830#FFFFFF#000000##000000
##CFC8301.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C003
Deuteranopia (green-blind)
#DDC63D
Tritanopia (blue-blind)
#DEBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc830;
/* rgb */ color: rgb(207, 200, 48);
/* oklch */ color: oklch(81.3% 0.161 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2d875',
    500: '#cfc830',
    950: '#000000',
  },
}
SCSS
$custom: #cfc830;
$custom-light: #e2d875;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc830",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 48
  },
  "hsl": {
    "h": 57.358,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.81349,
    "c": 0.16113,
    "h": 106.7
  },
  "luminance": 0.54787
}

Semantic roles & 50–950 ramp

primary
#CFC830
secondary
#2E3175
accent
#4AE542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC830

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

Preview Lab → · Contrast checker → · Palette generator →

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