#CFBF3F#CFBF3F

#CFBF3F is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.145 H 102.1°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CFBF3F
RGBrgb(207, 191, 63)
HSLhsl(53, 60%, 53%)
HSVhsv(53, 70%, 81%)
CMYKcmyk(0%, 7.7%, 69.6%, 18.8%)
CIE-LABlab(76.61, -8.73, 63.41)
CIE-LCHlch(76.61, 64.01, 97.84°)
OKLaboklab(79.54% -0.0302 0.1414)
OKLCHoklch(79.54% 0.145 102.1)
XYZxyz(45.2621, 50.8878, 12.1398)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF3F #3F4FCF
analogous
#CF773F #CFBF3F #97CF3F
triadic
#CFBF3F #3FCFBF #BF3FCF
tetradic
#CFBF3F #3FCF77 #3F4FCF #CF3F97
square
#CFBF3F #3FCF77 #3F4FCF #CF3F97
split-complementary
#CFBF3F #3F97CF #773FCF
monochromatic
#766C1E #A7992A #CFBF3F #DBCF70 #E7E0A1

Accessibility & contrast

On white

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

On black

11.18
#CFBF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF3F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF3F#FFFFFF#000000##000000
##CFBF3F1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbf3f;
/* rgb */ color: rgb(207, 191, 63);
/* oklch */ color: oklch(79.5% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#e1d27c',
    500: '#cfbf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf3f;
$custom-light: #e1d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf3f",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 53.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79539,
    "c": 0.14457,
    "h": 102.1
  },
  "luminance": 0.50886
}

Semantic roles & 50–950 ramp

primary
#CFBF3F
secondary
#343C7F
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFBF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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