#CBCB4B#CBCB4B

#CBCB4B is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.148 H 109.3°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CBCB4B
RGBrgb(203, 203, 75)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0%, 0%, 63.1%, 20.4%)
CIE-LABlab(79.57, -15.82, 61.57)
CIE-LCHlch(79.57, 63.57, 104.41°)
OKLaboklab(81.84% -0.0488 0.1395)
OKLCHoklch(81.84% 0.148 109.3)
XYZxyz(47.2560, 55.9177, 14.9591)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB4B #4B4BCB
analogous
#CB8B4B #CBCB4B #8BCB4B
triadic
#CBCB4B #4BCBCB #CB4BCB
tetradic
#CBCB4B #4BCB8B #4B4BCB #CB4B8B
square
#CBCB4B #4BCB8B #4B4BCB #CB4B8B
split-complementary
#CBCB4B #4B8BCB #8B4BCB
monochromatic
#797923 #A8A831 #CBCB4B #D9D97A #E6E6AA

Accessibility & contrast

On white

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

On black

12.18
#CBCB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB4B
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB4B#FFFFFF#000000##000000
##CBCB4B1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33A
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#D9BFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb4b;
/* rgb */ color: rgb(203, 203, 75);
/* oklch */ color: oklch(81.8% 0.148 109.3);
Tailwind
colors: {
  custom: {
    50: '#deda83',
    500: '#cbcb4b',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb4b;
$custom-light: #deda83;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb4b",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8184,
    "c": 0.14781,
    "h": 109.3
  },
  "luminance": 0.55916
}

Semantic roles & 50–950 ramp

primary
#CBCB4B
secondary
#393981
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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