#CFBA3B#CFBA3B

#CFBA3B is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.143 H 99.6°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CFBA3B
RGBrgb(207, 186, 59)
HSLhsl(51, 61%, 52%)
HSVhsv(51, 71%, 81%)
CMYKcmyk(0%, 10.1%, 71.5%, 18.8%)
CIE-LABlab(75.27, -6.35, 63.60)
CIE-LCHlch(75.27, 63.92, 95.70°)
OKLaboklab(78.46% -0.0239 0.1411)
OKLCHoklch(78.46% 0.143 99.6)
XYZxyz(44.0825, 48.7011, 11.2151)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA3B #3B50CF
analogous
#CF703B #CFBA3B #9ACF3B
triadic
#CFBA3B #3BCFBA #BA3BCF
tetradic
#CFBA3B #3BCF70 #3B50CF #CF3B9A
square
#CFBA3B #3BCF70 #3B50CF #CF3B9A
split-complementary
#CFBA3B #3B9ACF #703BCF
monochromatic
#73671C #A59328 #CFBA3B #DBCB6C #E7DD9D

Accessibility & contrast

On white

1.96
#CFBA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CFBA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA3B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA3B#FFFFFF#000000##000000
##CFBA3B1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB527
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#DFACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfba3b;
/* rgb */ color: rgb(207, 186, 59);
/* oklch */ color: oklch(78.5% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#e1ce79',
    500: '#cfba3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfba3b;
$custom-light: #e1ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba3b",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 51.486,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78462,
    "c": 0.14307,
    "h": 99.6
  },
  "luminance": 0.48699
}

Semantic roles & 50–950 ramp

primary
#CFBA3B
secondary
#939CD3
accent
#5BE444
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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