#CBCB74#CBCB74

#CBCB74 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.110 H 108.6°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CBCB74
RGBrgb(203, 203, 116)
HSLhsl(60, 46%, 63%)
HSVhsv(60, 43%, 80%)
CMYKcmyk(0%, 0%, 42.9%, 20.4%)
CIE-LABlab(79.99, -12.47, 43.25)
CIE-LCHlch(79.99, 45.01, 106.09°)
OKLaboklab(82.32% -0.035 0.1042)
OKLCHoklch(82.32% 0.11 108.6)
XYZxyz(49.1378, 56.6704, 24.8696)
Luminance0.5667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB74 #7474CB
analogous
#CB9F74 #CBCB74 #9FCB74
triadic
#CBCB74 #74CBCB #CB74CB
tetradic
#CBCB74 #74CB9F #7474CB #CB749F
square
#CBCB74 #74CB9F #7474CB #CB749F
split-complementary
#CBCB74 #749FCB #9F74CB
monochromatic
#8F8F36 #BABA47 #CBCB74 #DCDCA1 #ECECCD

Accessibility & contrast

On white

1.70
#CBCB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CBCB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB74
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB74#FFFFFF#000000##000000
##CBCB741.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#D9C878
Tritanopia (blue-blind)
#D6C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcb74;
/* rgb */ color: rgb(203, 203, 116);
/* oklch */ color: oklch(82.3% 0.110 108.6);
Tailwind
colors: {
  custom: {
    50: '#dcda9d',
    500: '#cbcb74',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb74;
$custom-light: #dcda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb74",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82318,
    "c": 0.10994,
    "h": 108.6
  },
  "luminance": 0.56669
}

Semantic roles & 50–950 ramp

primary
#CBCB74
secondary
#4D4D96
accent
#2DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBCB74

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

Preview Lab → · Contrast checker → · Palette generator →

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