#CFC348#CFC348

#CFC348 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.142 H 103.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CFC348
RGBrgb(207, 195, 72)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 65%, 81%)
CMYKcmyk(0%, 5.8%, 65.2%, 18.8%)
CIE-LABlab(77.74, -10.28, 60.98)
CIE-LCHlch(77.74, 61.85, 99.57°)
OKLaboklab(80.45% -0.0336 0.1377)
OKLCHoklch(80.45% 0.142 103.7)
XYZxyz(46.4187, 52.7653, 13.8692)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC348 #4854CF
analogous
#CF8048 #CFC348 #97CF48
triadic
#CFC348 #48CFC3 #C348CF
tetradic
#CFC348 #48CF80 #4854CF #CF4897
square
#CFC348 #48CF80 #4854CF #CF4897
split-complementary
#CFC348 #4897CF #8048CF
monochromatic
#7C7421 #ADA12D #CFC348 #DCD378 #E8E3A9

Accessibility & contrast

On white

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

On black

11.55
#CFC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC348
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC348#FFFFFF#000000##000000
##CFC3481.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc348;
/* rgb */ color: rgb(207, 195, 72);
/* oklch */ color: oklch(80.5% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e1d481',
    500: '#cfc348',
    950: '#000000',
  },
}
SCSS
$custom: #cfc348;
$custom-light: #e1d481;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc348",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 54.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80454,
    "c": 0.14178,
    "h": 103.7
  },
  "luminance": 0.52763
}

Semantic roles & 50–950 ramp

primary
#CFC348
secondary
#373E84
accent
#54E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC348

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

Preview Lab → · Contrast checker → · Palette generator →

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