#CFC77E#CFC77E

#CFC77E is a light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.094 H 102.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CFC77E
RGBrgb(207, 199, 126)
HSLhsl(54, 46%, 65%)
HSVhsv(54, 39%, 81%)
CMYKcmyk(0%, 3.9%, 39.1%, 18.8%)
CIE-LABlab(79.40, -7.78, 37.54)
CIE-LCHlch(79.40, 38.33, 101.70°)
OKLaboklab(81.97% -0.0209 0.0918)
OKLCHoklch(81.97% 0.094 102.8)
XYZxyz(49.9223, 55.6199, 27.8406)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC77E #7E86CF
analogous
#CF9E7E #CFC77E #AECF7E
triadic
#CFC77E #7ECFC7 #C77ECF
tetradic
#CFC77E #7ECF9E #7E86CF #CF7EAE
square
#CFC77E #7ECF9E #7E86CF #CF7EAE
split-complementary
#CFC77E #7EAECF #9E7ECF
monochromatic
#999039 #BEB451 #CFC77E #E0DAAB #F0EED7

Accessibility & contrast

On white

1.73
#CFC77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CFC77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC77E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC77E#FFFFFF#000000##000000
##CFC77E1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C279
Deuteranopia (green-blind)
#D6C781
Tritanopia (blue-blind)
#DABEB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc77e;
/* rgb */ color: rgb(207, 199, 126);
/* oklch */ color: oklch(82.0% 0.094 102.8);
Tailwind
colors: {
  custom: {
    50: '#dfd7a4',
    500: '#cfc77e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc77e;
$custom-light: #dfd7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc77e",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 126
  },
  "hsl": {
    "h": 54.074,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81968,
    "c": 0.09415,
    "h": 102.8
  },
  "luminance": 0.55619
}

Semantic roles & 50–950 ramp

primary
#CFC77E
secondary
#525A9F
accent
#3AB92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC77E

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

Preview Lab → · Contrast checker → · Palette generator →

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