#CFB844#CFB844

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

Color values

HEX#CFB844
RGBrgb(207, 184, 68)
HSLhsl(50, 59%, 54%)
HSVhsv(50, 67%, 81%)
CMYKcmyk(0%, 11.1%, 67.1%, 18.8%)
CIE-LABlab(74.80, -4.84, 59.58)
CIE-LCHlch(74.80, 59.78, 94.65°)
OKLaboklab(78.12% -0.0186 0.1341)
OKLCHoklch(78.12% 0.135 97.9)
XYZxyz(43.9180, 47.9658, 12.4127)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB844 #445BCF
analogous
#CF7344 #CFB844 #A1CF44
triadic
#CFB844 #44CFB8 #B844CF
tetradic
#CFB844 #44CF73 #445BCF #CF44A1
square
#CFB844 #44CF73 #445BCF #CF44A1
split-complementary
#CFB844 #44A1CF #7344CF
monochromatic
#796A1F #AA952C #CFB844 #DCCA75 #E8DDA5

Accessibility & contrast

On white

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

On black

10.59
#CFB844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB844
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB844#FFFFFF#000000##000000
##CFB8441.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb844;
/* rgb */ color: rgb(207, 184, 68);
/* oklch */ color: oklch(78.1% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#e1cd7e',
    500: '#cfb844',
    950: '#000000',
  },
}
SCSS
$custom: #cfb844;
$custom-light: #e1cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb844",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 68
  },
  "hsl": {
    "h": 50.072,
    "s": 59.149,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78116,
    "c": 0.13541,
    "h": 97.9
  },
  "luminance": 0.47964
}

Semantic roles & 50–950 ramp

primary
#CFB844
secondary
#9AA4D5
accent
#5FE245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB844

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

Preview Lab → · Contrast checker → · Palette generator →

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