#CBCB3F#CBCB3F

#CBCB3F is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.156 H 109.4°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CBCB3F
RGBrgb(203, 203, 63)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0%, 0%, 69%, 20.4%)
CIE-LABlab(79.48, -16.50, 66.15)
CIE-LCHlch(79.48, 68.18, 104.01°)
OKLaboklab(81.75% -0.0519 0.1473)
OKLCHoklch(81.75% 0.156 109.4)
XYZxyz(46.8834, 55.7686, 12.9964)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB3F #3F3FCB
analogous
#CB853F #CBCB3F #85CB3F
triadic
#CBCB3F #3FCBCB #CB3FCB
tetradic
#CBCB3F #3FCB85 #3F3FCB #CB3F85
square
#CBCB3F #3FCB85 #3F3FCB #CB3F85
split-complementary
#CBCB3F #3F85CB #853FCB
monochromatic
#71711F #A1A12C #CBCB3F #D8D86F #E5E59F

Accessibility & contrast

On white

1.73
#CBCB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CBCB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB3F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB3F#FFFFFF#000000##000000
##CBCB3F1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC328
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#D9BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb3f;
/* rgb */ color: rgb(203, 203, 63);
/* oklch */ color: oklch(81.7% 0.156 109.4);
Tailwind
colors: {
  custom: {
    50: '#deda7d',
    500: '#cbcb3f',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb3f;
$custom-light: #deda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb3f",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81745,
    "c": 0.15615,
    "h": 109.4
  },
  "luminance": 0.55767
}

Semantic roles & 50–950 ramp

primary
#CBCB3F
secondary
#34347A
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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