#CBCD4F#CBCD4F

#CBCD4F is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.147 H 110.1°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CBCD4F
RGBrgb(203, 205, 79)
HSLhsl(61, 56%, 56%)
HSVhsv(61, 61%, 80%)
CMYKcmyk(1%, 0%, 61.5%, 19.6%)
CIE-LABlab(80.14, -16.57, 60.52)
CIE-LCHlch(80.14, 62.75, 105.31°)
OKLaboklab(82.31% -0.0504 0.1379)
OKLCHoklch(82.31% 0.147 110.1)
XYZxyz(47.8726, 56.9249, 15.8614)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCD4F #514FCD
analogous
#CD904F #CBCD4F #8CCD4F
triadic
#CBCD4F #4FCBCD #CD4FCB
tetradic
#CBCD4F #4FCD90 #514FCD #CD4F8C
square
#CBCD4F #4FCD90 #514FCD #CD4F8C
split-complementary
#CBCD4F #4F8CCD #904FCD
monochromatic
#7C7E24 #ACAE31 #CBCD4F #D9DB7F #E7E8AE

Accessibility & contrast

On white

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

On black

12.38
#CBCD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCD4F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCD4F#FFFFFF#000000##000000
##CBCD4F1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC540
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#D8C1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcd4f;
/* rgb */ color: rgb(203, 205, 79);
/* oklch */ color: oklch(82.3% 0.147 110.1);
Tailwind
colors: {
  custom: {
    50: '#dedc86',
    500: '#cbcd4f',
    950: '#000000',
  },
}
SCSS
$custom: #cbcd4f;
$custom-light: #dedc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcd4f",
  "rgb": {
    "r": 203,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 60.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82305,
    "c": 0.14683,
    "h": 110.1
  },
  "luminance": 0.56924
}

Semantic roles & 50–950 ramp

primary
#CBCD4F
secondary
#3C3B86
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #CBCD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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