#CBC23F#CBC23F

#CBC23F is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.148 H 105.4°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CBC23F
RGBrgb(203, 194, 63)
HSLhsl(56, 57%, 52%)
HSVhsv(56, 69%, 80%)
CMYKcmyk(0%, 4.4%, 69%, 20.4%)
CIE-LABlab(77.07, -11.97, 63.75)
CIE-LCHlch(77.07, 64.87, 100.63°)
OKLaboklab(79.82% -0.0391 0.1422)
OKLCHoklch(79.82% 0.148 105.4)
XYZxyz(44.8194, 51.6406, 12.3084)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC23F #3F48CB
analogous
#CB7C3F #CBC23F #8ECB3F
triadic
#CBC23F #3FCBC2 #C23FCB
tetradic
#CBC23F #3FCB7C #3F48CB #CB3F8E
square
#CBC23F #3FCB7C #3F48CB #CB3F8E
split-complementary
#CBC23F #3F8ECB #7C3FCB
monochromatic
#716C1F #A19A2C #CBC23F #D8D16F #E5E19F

Accessibility & contrast

On white

1.85
#CBC23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CBC23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC23F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC23F#FFFFFF#000000##000000
##CBC23F1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#DAB5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc23f;
/* rgb */ color: rgb(203, 194, 63);
/* oklch */ color: oklch(79.8% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded47c',
    500: '#cbc23f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc23f;
$custom-light: #ded47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc23f",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 63
  },
  "hsl": {
    "h": 56.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79818,
    "c": 0.14751,
    "h": 105.4
  },
  "luminance": 0.51639
}

Semantic roles & 50–950 ramp

primary
#CBC23F
secondary
#34397A
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC23F

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

Preview Lab → · Contrast checker → · Palette generator →

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