#CFCB78#CFCB78

#CFCB78 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.105 H 106.1°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CFCB78
RGBrgb(207, 203, 120)
HSLhsl(57, 48%, 64%)
HSVhsv(57, 42%, 81%)
CMYKcmyk(0%, 1.9%, 42%, 18.8%)
CIE-LABlab(80.37, -10.46, 41.80)
CIE-LCHlch(80.37, 43.09, 104.06°)
OKLaboklab(82.71% -0.0291 0.1011)
OKLCHoklch(82.71% 0.105 106.1)
XYZxyz(50.4791, 57.3346, 26.1732)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB78 #787CCF
analogous
#CFA078 #CFCB78 #A8CF78
triadic
#CFCB78 #78CFCB #CB78CF
tetradic
#CFCB78 #78CFA0 #787CCF #CF78A8
square
#CFCB78 #78CFA0 #787CCF #CF78A8
split-complementary
#CFCB78 #78A8CF #A078CF
monochromatic
#979236 #BFBA4B #CFCB78 #DFDCA5 #EFEED2

Accessibility & contrast

On white

1.68
#CFCB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CFCB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB78
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB78#FFFFFF#000000##000000
##CFCB781.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C571
Deuteranopia (green-blind)
#DAC97C
Tritanopia (blue-blind)
#DAC1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcb78;
/* rgb */ color: rgb(207, 203, 120);
/* oklch */ color: oklch(82.7% 0.105 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfdaa0',
    500: '#cfcb78',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb78;
$custom-light: #dfdaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb78",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 57.241,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8271,
    "c": 0.10525,
    "h": 106.1
  },
  "luminance": 0.57333
}

Semantic roles & 50–950 ramp

primary
#CFCB78
secondary
#4E529D
accent
#31BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFCB78

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

Preview Lab → · Contrast checker → · Palette generator →

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