#CBC943#CBC943

#CBC943 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.152 H 108.5°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CBC943
RGBrgb(203, 201, 67)
HSLhsl(59, 57%, 53%)
HSVhsv(59, 67%, 80%)
CMYKcmyk(0%, 1%, 67%, 20.4%)
CIE-LABlab(78.97, -15.29, 64.14)
CIE-LCHlch(78.97, 65.93, 103.41°)
OKLaboklab(81.35% -0.0481 0.1437)
OKLCHoklch(81.35% 0.152 108.5)
XYZxyz(46.5300, 54.8765, 13.4503)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC943 #4345CB
analogous
#CB8543 #CBC943 #89CB43
triadic
#CBC943 #43CBC9 #C943CB
tetradic
#CBC943 #43CB85 #4345CB #CB4389
square
#CBC943 #43CB85 #4345CB #CB4389
split-complementary
#CBC943 #4389CB #8543CB
monochromatic
#747220 #A4A22D #CBC943 #D8D773 #E6E5A3

Accessibility & contrast

On white

1.75
#CBC943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CBC943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC943
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC943#FFFFFF#000000##000000
##CBC9431.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc943;
/* rgb */ color: rgb(203, 201, 67);
/* oklch */ color: oklch(81.3% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#ded97f',
    500: '#cbc943',
    950: '#000000',
  },
}
SCSS
$custom: #cbc943;
$custom-light: #ded97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc943",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 59.118,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81345,
    "c": 0.15153,
    "h": 108.5
  },
  "luminance": 0.54875
}

Semantic roles & 50–950 ramp

primary
#CBC943
secondary
#36377C
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC943

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

Preview Lab → · Contrast checker → · Palette generator →

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