#CFC380#CFC380

#CFC380 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.088 H 99.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CFC380
RGBrgb(207, 195, 128)
HSLhsl(51, 45%, 66%)
HSVhsv(51, 38%, 81%)
CMYKcmyk(0%, 5.8%, 38.2%, 18.8%)
CIE-LABlab(78.38, -5.49, 35.20)
CIE-LCHlch(78.38, 35.62, 98.86°)
OKLaboklab(81.17% -0.0142 0.0865)
OKLCHoklch(81.17% 0.088 99.3)
XYZxyz(49.1444, 53.8555, 28.2243)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC380 #808CCF
analogous
#CF9B80 #CFC380 #B3CF80
triadic
#CFC380 #80CFC3 #C380CF
tetradic
#CFC380 #80CF9B #808CCF #CF80B3
square
#CFC380 #80CF9B #808CCF #CF80B3
split-complementary
#CFC380 #80B3CF #9B80CF
monochromatic
#9A8C3A #BEAE54 #CFC380 #E0D8AC #F1EDD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC380#FFFFFF#000000##000000
##CFC3801.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)
#CFBF7B
Deuteranopia (green-blind)
#D3C483
Tritanopia (blue-blind)
#DABAB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc380;
/* rgb */ color: rgb(207, 195, 128);
/* oklch */ color: oklch(81.2% 0.088 99.3);
Tailwind
colors: {
  custom: {
    50: '#dfd5a5',
    500: '#cfc380',
    950: '#000000',
  },
}
SCSS
$custom: #cfc380;
$custom-light: #dfd5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc380",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 128
  },
  "hsl": {
    "h": 50.886,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8117,
    "c": 0.08766,
    "h": 99.3
  },
  "luminance": 0.53854
}

Semantic roles & 50–950 ramp

primary
#CFC380
secondary
#535FA0
accent
#42B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC380

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

Preview Lab → · Contrast checker → · Palette generator →

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