#CFC376#CFC376

#CFC376 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.099 H 100.5°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CFC376
RGBrgb(207, 195, 118)
HSLhsl(52, 48%, 64%)
HSVhsv(52, 43%, 81%)
CMYKcmyk(0%, 5.8%, 43%, 18.8%)
CIE-LABlab(78.23, -6.57, 40.12)
CIE-LCHlch(78.23, 40.65, 99.30°)
OKLaboklab(81.01% -0.0181 0.0972)
OKLCHoklch(81.01% 0.099 100.5)
XYZxyz(48.5183, 53.6051, 24.9271)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC376 #7682CF
analogous
#CF9676 #CFC376 #AECF76
triadic
#CFC376 #76CFC3 #C376CF
tetradic
#CFC376 #76CF96 #7682CF #CF76AE
square
#CFC376 #76CF96 #7682CF #CF76AE
split-complementary
#CFC376 #76AECF #9676CF
monochromatic
#968935 #BFAF49 #CFC376 #DFD7A3 #EFEBD1

Accessibility & contrast

On white

1.79
#CFC376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CFC376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC376
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC376#FFFFFF#000000##000000
##CFC3761.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF70
Deuteranopia (green-blind)
#D4C479
Tritanopia (blue-blind)
#DBB9B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc376;
/* rgb */ color: rgb(207, 195, 118);
/* oklch */ color: oklch(81.0% 0.099 100.5);
Tailwind
colors: {
  custom: {
    50: '#dfd59f',
    500: '#cfc376',
    950: '#000000',
  },
}
SCSS
$custom: #cfc376;
$custom-light: #dfd59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc376",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 118
  },
  "hsl": {
    "h": 51.91,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81006,
    "c": 0.09891,
    "h": 100.5
  },
  "luminance": 0.53604
}

Semantic roles & 50–950 ramp

primary
#CFC376
secondary
#4D589C
accent
#3EBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC376

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

Preview Lab → · Contrast checker → · Palette generator →

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