#CFBA4F#CFBA4F

#CFBA4F is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.128 H 98.2°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CFBA4F
RGBrgb(207, 186, 79)
HSLhsl(50, 57%, 56%)
HSVhsv(50, 62%, 81%)
CMYKcmyk(0%, 10.1%, 61.8%, 18.8%)
CIE-LABlab(75.42, -5.21, 55.51)
CIE-LCHlch(75.42, 55.76, 95.36°)
OKLaboklab(78.63% -0.0184 0.1272)
OKLCHoklch(78.63% 0.128 98.2)
XYZxyz(44.7042, 48.9497, 14.4891)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA4F #4F64CF
analogous
#CF7A4F #CFBA4F #A4CF4F
triadic
#CFBA4F #4FCFBA #BA4FCF
tetradic
#CFBA4F #4FCF7A #4F64CF #CF4FA4
square
#CFBA4F #4FCF7A #4F64CF #CF4FA4
split-complementary
#CFBA4F #4FA4CF #7A4FCF
monochromatic
#817123 #B19C30 #CFBA4F #DCCD7F #E9E0AF

Accessibility & contrast

On white

1.95
#CFBA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CFBA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA4F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA4F#FFFFFF#000000##000000
##CFBA4F1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba4f;
/* rgb */ color: rgb(207, 186, 79);
/* oklch */ color: oklch(78.6% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#e1ce85',
    500: '#cfba4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfba4f;
$custom-light: #e1ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba4f",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 50.156,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78634,
    "c": 0.12849,
    "h": 98.2
  },
  "luminance": 0.48948
}

Semantic roles & 50–950 ramp

primary
#CFBA4F
secondary
#A2ABD7
accent
#61E047
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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