#CBC93F#CBC93F

#CBC93F is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.154 H 108.6°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CBC93F
RGBrgb(203, 201, 63)
HSLhsl(59, 57%, 52%)
HSVhsv(59, 69%, 80%)
CMYKcmyk(0%, 1%, 69%, 20.4%)
CIE-LABlab(78.94, -15.50, 65.62)
CIE-LCHlch(78.94, 67.42, 103.29°)
OKLaboklab(81.32% -0.0491 0.1462)
OKLCHoklch(81.32% 0.154 108.6)
XYZxyz(46.4141, 54.8301, 12.8400)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC93F #3F41CB
analogous
#CB833F #CBC93F #87CB3F
triadic
#CBC93F #3FCBC9 #C93FCB
tetradic
#CBC93F #3FCB83 #3F41CB #CB3F87
square
#CBC93F #3FCB83 #3F41CB #CB3F87
split-complementary
#CBC93F #3F87CB #833FCB
monochromatic
#71701F #A19F2C #CBC93F #D8D76F #E5E49F

Accessibility & contrast

On white

1.76
#CBC93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CBC93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC93F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC93F#FFFFFF#000000##000000
##CBC93F1.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc93f;
/* rgb */ color: rgb(203, 201, 63);
/* oklch */ color: oklch(81.3% 0.154 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded97d',
    500: '#cbc93f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc93f;
$custom-light: #ded97d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc93f",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 59.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81315,
    "c": 0.15418,
    "h": 108.6
  },
  "luminance": 0.54829
}

Semantic roles & 50–950 ramp

primary
#CBC93F
secondary
#34357A
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC93F

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

Preview Lab → · Contrast checker → · Palette generator →

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