#CFC77F#CFC77F

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

Color values

HEX#CFC77F
RGBrgb(207, 199, 127)
HSLhsl(54, 45%, 65%)
HSVhsv(54, 39%, 81%)
CMYKcmyk(0%, 3.9%, 38.6%, 18.8%)
CIE-LABlab(79.41, -7.67, 37.04)
CIE-LCHlch(79.41, 37.83, 101.69°)
OKLaboklab(81.98% -0.0205 0.0907)
OKLCHoklch(81.98% 0.093 102.8)
XYZxyz(49.9871, 55.6458, 28.1821)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC77F #7F87CF
analogous
#CF9F7F #CFC77F #AFCF7F
triadic
#CFC77F #7FCFC7 #C77FCF
tetradic
#CFC77F #7FCF9F #7F87CF #CF7FAF
square
#CFC77F #7FCF9F #7F87CF #CF7FAF
split-complementary
#CFC77F #7FAFCF #9F7FCF
monochromatic
#9A903A #BEB452 #CFC77F #E0DAAC #F0EED8

Accessibility & contrast

On white

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

On black

12.13
#CFC77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC77F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC77F#FFFFFF#000000##000000
##CFC77F1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc77f;
/* rgb */ color: rgb(207, 199, 127);
/* oklch */ color: oklch(82.0% 0.093 102.8);
Tailwind
colors: {
  custom: {
    50: '#dfd7a5',
    500: '#cfc77f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc77f;
$custom-light: #dfd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc77f",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 127
  },
  "hsl": {
    "h": 54,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81984,
    "c": 0.093,
    "h": 102.8
  },
  "luminance": 0.55645
}

Semantic roles & 50–950 ramp

primary
#CFC77F
secondary
#535AA0
accent
#3BB92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC77F

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

Preview Lab → · Contrast checker → · Palette generator →

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