#CBCB4F#CBCB4F

#CBCB4F is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.145 H 109.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CBCB4F
RGBrgb(203, 203, 79)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0%, 61.1%, 20.4%)
CIE-LABlab(79.60, -15.57, 59.94)
CIE-LCHlch(79.60, 61.93, 104.56°)
OKLaboklab(81.88% -0.0476 0.1367)
OKLCHoklch(81.88% 0.145 109.2)
XYZxyz(47.3973, 55.9742, 15.7030)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB4F #4F4FCB
analogous
#CB8D4F #CBCB4F #8DCB4F
triadic
#CBCB4F #4FCBCB #CB4FCB
tetradic
#CBCB4F #4FCB8D #4F4FCB #CB4F8D
square
#CBCB4F #4FCB8D #4F4FCB #CB4F8D
split-complementary
#CBCB4F #4F8DCB #8D4FCB
monochromatic
#7B7B24 #AAAA32 #CBCB4F #D9D97E #E7E7AD

Accessibility & contrast

On white

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

On black

12.19
#CBCB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB4F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB4F#FFFFFF#000000##000000
##CBCB4F1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#D8BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb4f;
/* rgb */ color: rgb(203, 203, 79);
/* oklch */ color: oklch(81.9% 0.145 109.2);
Tailwind
colors: {
  custom: {
    50: '#deda86',
    500: '#cbcb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb4f;
$custom-light: #deda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb4f",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81876,
    "c": 0.14473,
    "h": 109.2
  },
  "luminance": 0.55973
}

Semantic roles & 50–950 ramp

primary
#CBCB4F
secondary
#3B3B83
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBCB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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