#CBD874#CBD874

#CBD874 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.126 H 115.2°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CBD874
RGBrgb(203, 216, 116)
HSLhsl(68, 56%, 65%)
HSVhsv(68, 46%, 85%)
CMYKcmyk(6%, 0%, 46.3%, 15.3%)
CIE-LABlab(83.48, -18.97, 47.54)
CIE-LCHlch(83.48, 51.18, 111.75°)
OKLaboklab(85.1% -0.0536 0.1137)
OKLCHoklch(85.1% 0.126 115.2)
XYZxyz(52.3375, 63.0698, 25.9362)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD874 #8174D8
analogous
#D8B374 #CBD874 #99D874
triadic
#CBD874 #74CBD8 #D874CB
tetradic
#CBD874 #74D8B3 #8174D8 #D87499
square
#CBD874 #74D8B3 #8174D8 #D87499
split-complementary
#CBD874 #7499D8 #B374D8
monochromatic
#94A42E #B9CB44 #CBD874 #DDE5A4 #EFF3D4

Accessibility & contrast

On white

1.54
#CBD874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CBD874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD874
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD874#FFFFFF#000000##000000
##CBD8741.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6B
Deuteranopia (green-blind)
#E3D179
Tritanopia (blue-blind)
#D5CEC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd874;
/* rgb */ color: rgb(203, 216, 116);
/* oklch */ color: oklch(85.1% 0.126 115.2);
Tailwind
colors: {
  custom: {
    50: '#dce49e',
    500: '#cbd874',
    950: '#000000',
  },
}
SCSS
$custom: #cbd874;
$custom-light: #dce49e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd874",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 67.8,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85097,
    "c": 0.12571,
    "h": 115.2
  },
  "luminance": 0.63069
}

Semantic roles & 50–950 ramp

primary
#CBD874
secondary
#5549A7
accent
#22C437
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD874

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

Preview Lab → · Contrast checker → · Palette generator →

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