#CBCA74#CBCA74

#CBCA74 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.109 H 108.0°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CBCA74
RGBrgb(203, 202, 116)
HSLhsl(59, 46%, 63%)
HSVhsv(59, 43%, 80%)
CMYKcmyk(0%, 0.5%, 42.9%, 20.4%)
CIE-LABlab(79.73, -11.97, 42.92)
CIE-LCHlch(79.73, 44.56, 105.58°)
OKLaboklab(82.11% -0.0336 0.1035)
OKLCHoklch(82.11% 0.109 108)
XYZxyz(48.9024, 56.1996, 24.7911)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA74 #7475CB
analogous
#CB9E74 #CBCA74 #A1CB74
triadic
#CBCA74 #74CBCA #CA74CB
tetradic
#CBCA74 #74CB9E #7475CB #CB74A1
square
#CBCA74 #74CB9E #7475CB #CB74A1
split-complementary
#CBCA74 #74A1CB #9E74CB
monochromatic
#8F8E36 #BAB947 #CBCA74 #DCDBA1 #ECECCD

Accessibility & contrast

On white

1.72
#CBCA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CBCA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA74
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA74#FFFFFF#000000##000000
##CBCA741.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46D
Deuteranopia (green-blind)
#D8C778
Tritanopia (blue-blind)
#D6C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca74;
/* rgb */ color: rgb(203, 202, 116);
/* oklch */ color: oklch(82.1% 0.109 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcda9d',
    500: '#cbca74',
    950: '#000000',
  },
}
SCSS
$custom: #cbca74;
$custom-light: #dcda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca74",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 59.31,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82106,
    "c": 0.10878,
    "h": 108
  },
  "luminance": 0.56199
}

Semantic roles & 50–950 ramp

primary
#CBCA74
secondary
#4D4E96
accent
#2EB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBCA74

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

Preview Lab → · Contrast checker → · Palette generator →

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