#CFB845#CFB845

#CFB845 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.135 H 97.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CFB845
RGBrgb(207, 184, 69)
HSLhsl(50, 59%, 54%)
HSVhsv(50, 67%, 81%)
CMYKcmyk(0%, 11.1%, 66.7%, 18.8%)
CIE-LABlab(74.81, -4.79, 59.17)
CIE-LCHlch(74.81, 59.37, 94.63°)
OKLaboklab(78.13% -0.0183 0.1334)
OKLCHoklch(78.13% 0.135 97.8)
XYZxyz(43.9488, 47.9782, 12.5748)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB845 #455CCF
analogous
#CF7345 #CFB845 #A1CF45
triadic
#CFB845 #45CFB8 #B845CF
tetradic
#CFB845 #45CF73 #455CCF #CF45A1
square
#CFB845 #45CF73 #455CCF #CF45A1
split-complementary
#CFB845 #45A1CF #7345CF
monochromatic
#7A6B20 #AB962C #CFB845 #DCCB76 #E8DDA6

Accessibility & contrast

On white

1.98
#CFB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CFB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB845
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB845#FFFFFF#000000##000000
##CFB8451.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#DFABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb845;
/* rgb */ color: rgb(207, 184, 69);
/* oklch */ color: oklch(78.1% 0.135 97.8);
Tailwind
colors: {
  custom: {
    50: '#e1cd7e',
    500: '#cfb845',
    950: '#000000',
  },
}
SCSS
$custom: #cfb845;
$custom-light: #e1cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb845",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 50,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78125,
    "c": 0.13468,
    "h": 97.8
  },
  "luminance": 0.47976
}

Semantic roles & 50–950 ramp

primary
#CFB845
secondary
#9BA4D5
accent
#60E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB845

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

Preview Lab → · Contrast checker → · Palette generator →

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