#CFB83E#CFB83E

#CFB83E is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.140 H 98.3°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CFB83E
RGBrgb(207, 184, 62)
HSLhsl(50, 60%, 53%)
HSVhsv(50, 70%, 81%)
CMYKcmyk(0%, 11.1%, 70%, 18.8%)
CIE-LABlab(74.76, -5.17, 61.95)
CIE-LCHlch(74.76, 62.17, 94.77°)
OKLaboklab(78.07% -0.0202 0.1381)
OKLCHoklch(78.07% 0.14 98.3)
XYZxyz(43.7442, 47.8963, 11.4973)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB83E #3E55CF
analogous
#CF703E #CFB83E #9DCF3E
triadic
#CFB83E #3ECFB8 #B83ECF
tetradic
#CFB83E #3ECF70 #3E55CF #CF3E9D
square
#CFB83E #3ECF70 #3E55CF #CF3E9D
split-complementary
#CFB83E #3E9DCF #703ECF
monochromatic
#75671D #A69329 #CFB83E #DBCA6F #E7DCA0

Accessibility & contrast

On white

1.99
#CFB83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CFB83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB83E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB83E#FFFFFF#000000##000000
##CFB83E1.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32C
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#DFAA9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb83e;
/* rgb */ color: rgb(207, 184, 62);
/* oklch */ color: oklch(78.1% 0.140 98.3);
Tailwind
colors: {
  custom: {
    50: '#e1cd7a',
    500: '#cfb83e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb83e;
$custom-light: #e1cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb83e",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 62
  },
  "hsl": {
    "h": 50.483,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78068,
    "c": 0.13958,
    "h": 98.3
  },
  "luminance": 0.47894
}

Semantic roles & 50–950 ramp

primary
#CFB83E
secondary
#959FD4
accent
#5EE344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB83E

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

Preview Lab → · Contrast checker → · Palette generator →

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