#CFC630#CFC630

#CFC630 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.159 H 105.9°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CFC630
RGBrgb(207, 198, 48)
HSLhsl(57, 62%, 50%)
HSVhsv(57, 77%, 81%)
CMYKcmyk(0%, 4.3%, 76.8%, 18.8%)
CIE-LABlab(78.39, -12.96, 70.31)
CIE-LCHlch(78.39, 71.49, 100.44°)
OKLaboklab(80.92% -0.0435 0.1533)
OKLCHoklch(80.92% 0.159 105.9)
XYZxyz(46.4617, 53.8687, 10.7461)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC630 #3039CF
analogous
#CF7730 #CFC630 #88CF30
triadic
#CFC630 #30CFC6 #C630CF
tetradic
#CFC630 #30CF77 #3039CF #CF3088
square
#CFC630 #30CF77 #3039CF #CF3088
split-complementary
#CFC630 #3088CF #7730CF
monochromatic
#6C6719 #9D9624 #CFC630 #DBD462 #E6E193

Accessibility & contrast

On white

1.78
#CFC630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CFC630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC630
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC630#FFFFFF#000000##000000
##CFC6301.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF05
Deuteranopia (green-blind)
#DBC53C
Tritanopia (blue-blind)
#DFB8AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc630;
/* rgb */ color: rgb(207, 198, 48);
/* oklch */ color: oklch(80.9% 0.159 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2d675',
    500: '#cfc630',
    950: '#000000',
  },
}
SCSS
$custom: #cfc630;
$custom-light: #e2d675;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc630",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 48
  },
  "hsl": {
    "h": 56.604,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.80923,
    "c": 0.15934,
    "h": 105.9
  },
  "luminance": 0.53867
}

Semantic roles & 50–950 ramp

primary
#CFC630
secondary
#2E3275
accent
#4CE542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC630

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

Preview Lab → · Contrast checker → · Palette generator →

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