#CFC277#CFC277

#CFC277 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.097 H 99.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CFC277
RGBrgb(207, 194, 119)
HSLhsl(51, 48%, 64%)
HSVhsv(51, 43%, 81%)
CMYKcmyk(0%, 6.3%, 42.5%, 18.8%)
CIE-LABlab(77.98, -5.95, 39.30)
CIE-LCHlch(77.98, 39.75, 98.60°)
OKLaboklab(80.81% -0.0162 0.0954)
OKLCHoklch(80.81% 0.097 99.6)
XYZxyz(48.3548, 53.1824, 25.1673)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC277 #7784CF
analogous
#CF9677 #CFC277 #B0CF77
triadic
#CFC277 #77CFC2 #C277CF
tetradic
#CFC277 #77CF96 #7784CF #CF77B0
square
#CFC277 #77CF96 #7784CF #CF77B0
split-complementary
#CFC277 #77B0CF #9677CF
monochromatic
#968835 #BFAE4A #CFC277 #DFD6A4 #EFEBD1

Accessibility & contrast

On white

1.80
#CFC277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CFC277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC277
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC277#FFFFFF#000000##000000
##CFC2771.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE71
Deuteranopia (green-blind)
#D3C37A
Tritanopia (blue-blind)
#DBB8B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc277;
/* rgb */ color: rgb(207, 194, 119);
/* oklch */ color: oklch(80.8% 0.097 99.6);
Tailwind
colors: {
  custom: {
    50: '#dfd49f',
    500: '#cfc277',
    950: '#000000',
  },
}
SCSS
$custom: #cfc277;
$custom-light: #dfd49f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc277",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 119
  },
  "hsl": {
    "h": 51.136,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80814,
    "c": 0.09681,
    "h": 99.6
  },
  "luminance": 0.53181
}

Semantic roles & 50–950 ramp

primary
#CFC277
secondary
#4E599C
accent
#40BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC277

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

Preview Lab → · Contrast checker → · Palette generator →

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