#CBC62E#CBC62E

#CBC62E is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.161 H 107.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CBC62E
RGBrgb(203, 198, 46)
HSLhsl(58, 63%, 49%)
HSVhsv(58, 77%, 80%)
CMYKcmyk(0%, 2.5%, 77.3%, 20.4%)
CIE-LABlab(78.04, -14.74, 70.48)
CIE-LCHlch(78.04, 72.00, 101.81°)
OKLaboklab(80.57% -0.0485 0.1534)
OKLCHoklch(80.57% 0.161 107.5)
XYZxyz(45.3177, 53.2835, 10.4818)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC62E #2E33CB
analogous
#CB782E #CBC62E #82CB2E
triadic
#CBC62E #2ECBC6 #C62ECB
tetradic
#CBC62E #2ECB78 #2E33CB #CB2E82
square
#CBC62E #2ECB78 #2E33CB #CB2E82
split-complementary
#CBC62E #2E82CB #782ECB
monochromatic
#676517 #999523 #CBC62E #DAD65C #E5E38E

Accessibility & contrast

On white

1.80
#CBC62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CBC62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC62E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC62E#FFFFFF#000000##000000
##CBC62E1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#DAC33B
Tritanopia (blue-blind)
#DAB9AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc62e;
/* rgb */ color: rgb(203, 198, 46);
/* oklch */ color: oklch(80.6% 0.161 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd774',
    500: '#cbc62e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc62e;
$custom-light: #dfd774;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc62e",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 46
  },
  "hsl": {
    "h": 58.089,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80566,
    "c": 0.16092,
    "h": 107.5
  },
  "luminance": 0.53282
}

Semantic roles & 50–950 ramp

primary
#CBC62E
secondary
#2C2E71
accent
#47E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBC62E

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

Preview Lab → · Contrast checker → · Palette generator →

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