#CFBF3B#CFBF3B

#CFBF3B is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.147 H 102.2°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CFBF3B
RGBrgb(207, 191, 59)
HSLhsl(54, 61%, 52%)
HSVhsv(54, 71%, 81%)
CMYKcmyk(0%, 7.7%, 71.5%, 18.8%)
CIE-LABlab(76.58, -8.93, 64.89)
CIE-LCHlch(76.58, 65.50, 97.84°)
OKLaboklab(79.51% -0.0312 0.1438)
OKLCHoklch(79.51% 0.147 102.2)
XYZxyz(45.1543, 50.8447, 11.5724)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF3B #3B4BCF
analogous
#CF753B #CFBF3B #95CF3B
triadic
#CFBF3B #3BCFBF #BF3BCF
tetradic
#CFBF3B #3BCF75 #3B4BCF #CF3B95
square
#CFBF3B #3BCF75 #3B4BCF #CF3B95
split-complementary
#CFBF3B #3B95CF #753BCF
monochromatic
#736A1C #A59728 #CFBF3B #DBCF6C #E7DF9D

Accessibility & contrast

On white

1.88
#CFBF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CFBF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF3B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF3B#FFFFFF#000000##000000
##CFBF3B1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B925
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#DFB2A5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf3b;
/* rgb */ color: rgb(207, 191, 59);
/* oklch */ color: oklch(79.5% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#e1d279',
    500: '#cfbf3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf3b;
$custom-light: #e1d279;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf3b",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 53.514,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7951,
    "c": 0.14713,
    "h": 102.2
  },
  "luminance": 0.50843
}

Semantic roles & 50–950 ramp

primary
#CFBF3B
secondary
#323A7C
accent
#55E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFBF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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