#CBCA73#CBCA73

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

Color values

HEX#CBCA73
RGBrgb(203, 202, 115)
HSLhsl(59, 46%, 62%)
HSVhsv(59, 43%, 80%)
CMYKcmyk(0%, 0.5%, 43.3%, 20.4%)
CIE-LABlab(79.71, -12.07, 43.40)
CIE-LCHlch(79.71, 45.05, 105.54°)
OKLaboklab(82.09% -0.034 0.1045)
OKLCHoklch(82.09% 0.11 108)
XYZxyz(48.8445, 56.1765, 24.4864)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA73 #7374CB
analogous
#CB9E73 #CBCA73 #A0CB73
triadic
#CBCA73 #73CBCA #CA73CB
tetradic
#CBCA73 #73CB9E #7374CB #CB73A0
square
#CBCA73 #73CB9E #7374CB #CB73A0
split-complementary
#CBCA73 #73A0CB #9E73CB
monochromatic
#8F8E35 #BAB946 #CBCA73 #DCDBA0 #ECECCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCA73#FFFFFF#000000##000000
##CBCA731.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)
#D7C46C
Deuteranopia (green-blind)
#D8C777
Tritanopia (blue-blind)
#D6C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca73;
/* rgb */ color: rgb(203, 202, 115);
/* oklch */ color: oklch(82.1% 0.110 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcda9d',
    500: '#cbca73',
    950: '#000000',
  },
}
SCSS
$custom: #cbca73;
$custom-light: #dcda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca73",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 115
  },
  "hsl": {
    "h": 59.318,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82091,
    "c": 0.10985,
    "h": 108
  },
  "luminance": 0.56175
}

Semantic roles & 50–950 ramp

primary
#CBCA73
secondary
#4D4E95
accent
#2EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBCA73

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

Preview Lab → · Contrast checker → · Palette generator →

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