#CBC374#CBC374

#CBC374 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.101 H 103.4°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CBC374
RGBrgb(203, 195, 116)
HSLhsl(54, 46%, 63%)
HSVhsv(54, 43%, 80%)
CMYKcmyk(0%, 3.9%, 42.9%, 20.4%)
CIE-LABlab(77.87, -8.39, 40.60)
CIE-LCHlch(77.87, 41.46, 101.67°)
OKLaboklab(80.63% -0.0233 0.0983)
OKLCHoklch(80.63% 0.101 103.4)
XYZxyz(47.2971, 52.9890, 24.2560)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC374 #747CCB
analogous
#CB9874 #CBC374 #A7CB74
triadic
#CBC374 #74CBC3 #C374CB
tetradic
#CBC374 #74CB98 #747CCB #CB74A7
square
#CBC374 #74CB98 #747CCB #CB74A7
split-complementary
#CBC374 #74A7CB #9874CB
monochromatic
#8F8736 #BAB047 #CBC374 #DCD6A1 #ECE9CD

Accessibility & contrast

On white

1.81
#CBC374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CBC374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC374
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC374#FFFFFF#000000##000000
##CBC3741.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6E
Deuteranopia (green-blind)
#D3C277
Tritanopia (blue-blind)
#D7B9B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc374;
/* rgb */ color: rgb(203, 195, 116);
/* oklch */ color: oklch(80.6% 0.101 103.4);
Tailwind
colors: {
  custom: {
    50: '#dcd59d',
    500: '#cbc374',
    950: '#000000',
  },
}
SCSS
$custom: #cbc374;
$custom-light: #dcd59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc374",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 116
  },
  "hsl": {
    "h": 54.483,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80629,
    "c": 0.10098,
    "h": 103.4
  },
  "luminance": 0.52988
}

Semantic roles & 50–950 ramp

primary
#CBC374
secondary
#4D5496
accent
#3AB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC374

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

Preview Lab → · Contrast checker → · Palette generator →

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