#CBCF78#CBCF78

#CBCF78 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.110 H 110.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CBCF78
RGBrgb(203, 207, 120)
HSLhsl(63, 48%, 64%)
HSVhsv(63, 42%, 81%)
CMYKcmyk(1.9%, 0%, 42%, 18.8%)
CIE-LABlab(81.11, -14.08, 42.66)
CIE-LCHlch(81.11, 44.93, 108.26°)
OKLaboklab(83.23% -0.0393 0.1031)
OKLCHoklch(83.23% 0.11 110.9)
XYZxyz(50.3323, 58.6791, 26.4404)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF78 #7C78CF
analogous
#CFA878 #CBCF78 #A0CF78
triadic
#CBCF78 #78CBCF #CF78CB
tetradic
#CBCF78 #78CFA8 #7C78CF #CF78A0
square
#CBCF78 #78CFA8 #7C78CF #CF78A0
split-complementary
#CBCF78 #78A0CF #A878CF
monochromatic
#929736 #BABF4B #CBCF78 #DCDFA5 #EEEFD2

Accessibility & contrast

On white

1.65
#CBCF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CBCF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF78
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF78#FFFFFF#000000##000000
##CBCF781.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#D5C6BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbcf78;
/* rgb */ color: rgb(203, 207, 120);
/* oklch */ color: oklch(83.2% 0.110 110.9);
Tailwind
colors: {
  custom: {
    50: '#dcdda0',
    500: '#cbcf78',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf78;
$custom-light: #dcdda0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf78",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 62.759,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83227,
    "c": 0.11036,
    "h": 110.9
  },
  "luminance": 0.58678
}

Semantic roles & 50–950 ramp

primary
#CBCF78
secondary
#524E9D
accent
#2BBB31
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCF78

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

Preview Lab → · Contrast checker → · Palette generator →

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