#CBC83F#CBC83F

#CBC83F is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.1% C 0.153 H 108.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CBC83F
RGBrgb(203, 200, 63)
HSLhsl(59, 57%, 52%)
HSVhsv(59, 69%, 80%)
CMYKcmyk(0%, 1.5%, 69%, 20.4%)
CIE-LABlab(78.67, -15.00, 65.35)
CIE-LCHlch(78.67, 67.05, 102.93°)
OKLaboklab(81.1% -0.0477 0.1456)
OKLCHoklch(81.1% 0.153 108.1)
XYZxyz(46.1818, 54.3654, 12.7626)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC83F #3F42CB
analogous
#CB823F #CBC83F #88CB3F
triadic
#CBC83F #3FCBC8 #C83FCB
tetradic
#CBC83F #3FCB82 #3F42CB #CB3F88
square
#CBC83F #3FCB82 #3F42CB #CB3F88
split-complementary
#CBC83F #3F88CB #823FCB
monochromatic
#716F1F #A19F2C #CBC83F #D8D66F #E5E49F

Accessibility & contrast

On white

1.77
#CBC83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CBC83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC83F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC83F#FFFFFF#000000##000000
##CBC83F1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C029
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc83f;
/* rgb */ color: rgb(203, 200, 63);
/* oklch */ color: oklch(81.1% 0.153 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded87c',
    500: '#cbc83f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc83f;
$custom-light: #ded87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc83f",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 63
  },
  "hsl": {
    "h": 58.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.811,
    "c": 0.15321,
    "h": 108.1
  },
  "luminance": 0.54364
}

Semantic roles & 50–950 ramp

primary
#CBC83F
secondary
#34367A
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC83F

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

Preview Lab → · Contrast checker → · Palette generator →

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