#CCBF3F#CCBF3F

#CCBF3F is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.3% C 0.145 H 103.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CCBF3F
RGBrgb(204, 191, 63)
HSLhsl(54, 58%, 52%)
HSVhsv(54, 69%, 80%)
CMYKcmyk(0%, 6.4%, 69.1%, 20%)
CIE-LABlab(76.35, -10.01, 63.07)
CIE-LCHlch(76.35, 63.86, 99.02°)
OKLaboklab(79.27% -0.0337 0.1407)
OKLCHoklch(79.27% 0.145 103.5)
XYZxyz(44.4317, 50.4596, 12.1009)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF3F #3F4CCC
analogous
#CC783F #CCBF3F #93CC3F
triadic
#CCBF3F #3FCCBF #BF3FCC
tetradic
#CCBF3F #3FCC78 #3F4CCC #CC3F93
square
#CCBF3F #3FCC78 #3F4CCC #CC3F93
split-complementary
#CCBF3F #3F93CC #783FCC
monochromatic
#726B1E #A3982B #CCBF3F #D9CF6F #E6DFA0

Accessibility & contrast

On white

1.89
#CCBF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CCBF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF3F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF3F#FFFFFF#000000##000000
##CCBF3F1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#DBB2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbf3f;
/* rgb */ color: rgb(204, 191, 63);
/* oklch */ color: oklch(79.3% 0.145 103.5);
Tailwind
colors: {
  custom: {
    50: '#dfd27c',
    500: '#ccbf3f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf3f;
$custom-light: #dfd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf3f",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 54.468,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7927,
    "c": 0.14471,
    "h": 103.5
  },
  "luminance": 0.50458
}

Semantic roles & 50–950 ramp

primary
#CCBF3F
secondary
#343B7B
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCBF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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